[FFmpeg-cvslog] lavc/videotoolbox: remove config_info maximum capacity

Clément Bœsch git at videolan.org
Fri Jun 17 18:10:06 CEST 2016


ffmpeg | branch: master | Clément Bœsch <clement at stupeflix.com> | Fri Jun 17 15:55:58 2016 +0200| [6cb550e9331e519c6bf91c6e5d59137b5f52b913] | committer: Clément Bœsch

lavc/videotoolbox: remove config_info maximum capacity

In case of extradata, config_info will contain two entries instead of
one.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6cb550e9331e519c6bf91c6e5d59137b5f52b913
---

 libavcodec/videotoolbox.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



More information about the ffmpeg-cvslog mailing list