Commit 250f728d authored by Thomas Guillem's avatar Thomas Guillem

videotoolbox: fix invalid free

parent 1af77eb5
......@@ -610,6 +610,7 @@ static int OpenDecoder(vlc_object_t *p_this)
p_sys->b_started = false;
p_sys->b_is_avcc = false;
p_sys->codec = codec;
p_sys->videoFormatDescription = nil;
int i_ret = StartVideoToolbox(p_dec, NULL);
if (i_ret != VLC_SUCCESS) {
......
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