mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 05:45:58 +00:00
h265parser: Initialize pointer correctly that is never assigned but freed in error cases
Fixes crash on broken streams. https://bugzilla.gnome.org/show_bug.cgi?id=722669
This commit is contained in:
parent
d96999328a
commit
686c2f8e79
1 changed files with 1 additions and 0 deletions
|
@ -2251,6 +2251,7 @@ gst_h265_parser_parse_slice_hdr (GstH265Parser * parser,
|
|||
slice->loop_filter_across_slices_enabled_flag =
|
||||
pps->loop_filter_across_slices_enabled_flag;
|
||||
slice->num_entry_point_offsets = 0;
|
||||
slice->entry_point_offset_minus1 = NULL;
|
||||
|
||||
if (!slice->first_slice_segment_in_pic_flag) {
|
||||
const guint n = ceil_log2 (PicSizeInCtbsY);
|
||||
|
|
Loading…
Reference in a new issue