Skip to content
Snippets Groups Projects
Commit 5fb07a80 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf
Browse files

mft: fix H264 helper cleaning

The p_dec->fmt_in->i_codec may have changed when the decoder is being closed.
hh is initialized to default/empty values by default. p_obj is only set when
it's being used.
parent fecebe15
No related branches found
No related tags found
1 merge request!4411mft: fix H264 helper cleaning
Pipeline #397749 passed with stage
in 17 minutes and 2 seconds
......@@ -1482,7 +1482,7 @@ static void DestroyMFT(decoder_t *p_dec)
p_sys->flushStream();
}
if (p_dec->fmt_in->i_codec == VLC_CODEC_H264)
if (p_sys->hh.p_obj)
hxxx_helper_clean(&p_sys->hh);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment