[vlc-commits] codec: Videotoolbox: fail reordering on incomplete set
Francois Cartegnie
git at videolan.org
Mon Nov 27 09:37:34 CET 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Nov 27 09:25:10 2017 +0100| [a1ed9f2c9b705a0a22fcf329a81e8669305c784a] | committer: Francois Cartegnie
codec: Videotoolbox: fail reordering on incomplete set
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a1ed9f2c9b705a0a22fcf329a81e8669305c784a
---
modules/codec/videotoolbox.m | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index 63a780d8ac..6c8420250b 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -594,6 +594,8 @@ static bool FillReorderInfoHEVC(decoder_t *p_dec, const block_t *p_block,
{
hevc_slice_segment_header_t *p_sli =
hevc_decode_slice_header(p_nal, i_nal, true, GetxPSHEVC, p_sys);
+ if(!p_sli)
+ return false;
hevc_sequence_parameter_set_t *p_sps;
hevc_picture_parameter_set_t *p_pps;
More information about the vlc-commits
mailing list