Commit f42992b6 authored by Thomas Guillem's avatar Thomas Guillem

videotoolbox: remove wrong dict capacity hint

parent 4f4b973d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment