[vlc-commits] [Git][videolan/vlc][master] mft: fix H264 helper cleaning
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Sat Oct 21 13:37:15 UTC 2023
Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC
Commits:
5fb07a80 by Steve Lhomme at 2023-10-21T13:16:18+00:00
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.
- - - - -
1 changed file:
- modules/codec/mft.cpp
Changes:
=====================================
modules/codec/mft.cpp
=====================================
@@ -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);
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/5fb07a80df49c12a565c3d410518718f96e12543
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/5fb07a80df49c12a565c3d410518718f96e12543
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list