gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecs
Detlev Casanova 5f9b24e3ba codecs: h265: Do not free slice header before using it
The v4l2codecs H.265 decoder uses the
GstH265SliceHdr::entry_point_offset_minus1 array so make sure that it is not
freed before decoding the frame.

Before this patch, some H.265 input would segfault in
gst_v4l2_codec_h265_dec_fill_slice_params() when executing the line:

guint32 entry_point_offset = slice_hdr->entry_point_offset_minus1[i] + 1;

Make sure that the array is not freed before using it.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5499>
2023-10-17 15:06:10 -04:00
..
codecs-prelude.h
gstav1decoder.c av1decoder: Port to GstCodecPicture struct 2023-09-08 11:51:23 +00:00
gstav1decoder.h av1decoder: Port to GstCodecPicture struct 2023-09-08 11:51:23 +00:00
gstav1picture.c av1decoder: Port to GstCodecPicture struct 2023-09-08 11:51:23 +00:00
gstav1picture.h av1decoder: Port to GstCodecPicture struct 2023-09-08 11:51:23 +00:00
gstcodecpicture-private.h codecs: Define common codec picture struct 2023-09-08 11:51:23 +00:00
gstcodecpicture.c codecs: Define common codec picture struct 2023-09-08 11:51:23 +00:00
gstcodecpicture.h codecs: Define common codec picture struct 2023-09-08 11:51:23 +00:00
gsth264decoder.c h264decoder: Update latency dynamically 2023-09-17 01:43:29 +09:00
gsth264decoder.h h264decoder: Port to GstCodecPicture struct 2023-09-08 11:51:23 +00:00
gsth264picture-private.h gsth254picture: move internal API to private header 2023-03-30 11:40:33 +02:00
gsth264picture.c h264decoder: Port to GstCodecPicture struct 2023-09-08 11:51:23 +00:00
gsth264picture.h h264decoder: Update latency dynamically 2023-09-17 01:43:29 +09:00
gsth265decoder.c codecs: h265: Do not free slice header before using it 2023-10-17 15:06:10 -04:00
gsth265decoder.h h265decoder: Port to GstCodecPicture struct 2023-09-08 11:51:23 +00:00
gsth265picture.c h265decoder: Port to GstCodecPicture struct 2023-09-08 11:51:23 +00:00
gsth265picture.h h265decoder: Port to GstCodecPicture struct 2023-09-08 11:51:23 +00:00
gstmpeg2decoder.c mpeg2decoder: Port to GstCodecPicture struct 2023-09-08 11:51:23 +00:00
gstmpeg2decoder.h mpeg2decoder: Port to GstCodecPicture struct 2023-09-08 11:51:23 +00:00
gstmpeg2picture.c mpeg2decoder: Port to GstCodecPicture struct 2023-09-08 11:51:23 +00:00
gstmpeg2picture.h mpeg2decoder: Port to GstCodecPicture struct 2023-09-08 11:51:23 +00:00
gstvp8decoder.c vp8decoder: Port to GstCodecPicture struct 2023-09-08 11:51:23 +00:00
gstvp8decoder.h vp8decoder: Port to GstCodecPicture struct 2023-09-08 11:51:23 +00:00
gstvp8picture.c vp8decoder: Port to GstCodecPicture struct 2023-09-08 11:51:23 +00:00
gstvp8picture.h vp8decoder: Port to GstCodecPicture struct 2023-09-08 11:51:23 +00:00
gstvp9decoder.c vp9decoder: Port to GstCodecPicture struct 2023-09-08 11:51:23 +00:00
gstvp9decoder.h vp9decoder: Port to GstCodecPicture struct 2023-09-08 11:51:23 +00:00
gstvp9picture.c vp9decoder: Port to GstCodecPicture struct 2023-09-08 11:51:23 +00:00
gstvp9picture.h vp9decoder: Port to GstCodecPicture struct 2023-09-08 11:51:23 +00:00
gstvp9statefulparser.c codecs: gstvp9{decoder|statefulparser}: optionally parse compressed headers 2021-11-29 17:41:19 +00:00
gstvp9statefulparser.h codecs: gstvp9{decoder|statefulparser}: optionally parse compressed headers 2021-11-29 17:41:19 +00:00
meson.build codecs: Define common codec picture struct 2023-09-08 11:51:23 +00:00