diff --git a/libavcodec/videotoolbox.c b/libavcodec/videotoolbox.c index 7f726120cd6750bc01a5c44572cdb2dbe3b0d087..502b2e39a90b1261085e5c693b0fb4470f2af64f 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);