From f42992b6dbf4e573472a21d31628c0664e659e19 Mon Sep 17 00:00:00 2001 From: Thomas Guillem Date: Fri, 12 Jan 2018 13:30:19 +0100 Subject: [PATCH] videotoolbox: remove wrong dict capacity hint --- modules/codec/videotoolbox.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m index ea84330317..370cb787ce 100644 --- a/modules/codec/videotoolbox.m +++ b/modules/codec/videotoolbox.m @@ -996,7 +996,7 @@ static CFMutableDictionaryRef CreateSessionDescriptionFormat(decoder_t *p_dec, { decoder_sys_t *p_sys = p_dec->p_sys; - CFMutableDictionaryRef decoderConfiguration = cfdict_create(2); + CFMutableDictionaryRef decoderConfiguration = cfdict_create(0); if (decoderConfiguration == NULL) return nil; @@ -1124,7 +1124,7 @@ static int StartVideoToolbox(decoder_t *p_dec) return VLC_EGENERIC; /* destination pixel buffer attributes */ - CFMutableDictionaryRef destinationPixelBufferAttributes = cfdict_create(2); + CFMutableDictionaryRef destinationPixelBufferAttributes = cfdict_create(0); if(destinationPixelBufferAttributes == nil) return VLC_EGENERIC;