lavc/videotoolbox: remove config_info maximum capacity

In case of extradata, config_info will contain two entries instead of
one.
This commit is contained in:
Clément Bœsch 2016-06-17 15:55:58 +02:00
parent 6fd58eba1c
commit 6cb550e933
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ static CFDictionaryRef videotoolbox_decoder_config_create(CMVideoCodecType codec
AVCodecContext *avctx) AVCodecContext *avctx)
{ {
CFMutableDictionaryRef config_info = CFDictionaryCreateMutable(kCFAllocatorDefault, CFMutableDictionaryRef config_info = CFDictionaryCreateMutable(kCFAllocatorDefault,
1, 0,
&kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryKeyCallBacks,
&kCFTypeDictionaryValueCallBacks); &kCFTypeDictionaryValueCallBacks);