Browse Source

lavc/videotoolbox: remove config_info maximum capacity

In case of extradata, config_info will contain two entries instead of
one.
tags/n3.1
Clément Bœsch 9 years ago
parent
commit
6cb550e933
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/videotoolbox.c

+ 1
- 1
libavcodec/videotoolbox.c View File

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



Loading…
Cancel
Save