aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bœsch <clement@stupeflix.com>2016-06-17 15:55:58 +0200
committerClément Bœsch <clement@stupeflix.com>2016-06-17 17:46:19 +0200
commit6cb550e9331e519c6bf91c6e5d59137b5f52b913 (patch)
tree81b69a0d946912ed09af3a602cd4cc5b7e48c324
parent6fd58eba1cd1e3598f94be18dcd867f1b3af69dd (diff)
downloadffmpeg-6cb550e9331e519c6bf91c6e5d59137b5f52b913.tar.gz
lavc/videotoolbox: remove config_info maximum capacity
In case of extradata, config_info will contain two entries instead of one.
-rw-r--r--libavcodec/videotoolbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/videotoolbox.c b/libavcodec/videotoolbox.c
index 7f726120cd..502b2e39a9 100644
--- a/libavcodec/videotoolbox.c
+++ b/libavcodec/videotoolbox.c
@@ -407,7 +407,7 @@ static CFDictionaryRef videotoolbox_decoder_config_create(CMVideoCodecType codec
AVCodecContext *avctx)
{
CFMutableDictionaryRef config_info = CFDictionaryCreateMutable(kCFAllocatorDefault,
- 1,
+ 0,
&kCFTypeDictionaryKeyCallBacks,
&kCFTypeDictionaryValueCallBacks);