mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
decoder: h264: fix memory leak in PPS.
Cope with latest changes from codecparsers/h264. It is now required to explicitly clear the GstH264PPS structure as it could contain additional allocations (slice_group_ids).
This commit is contained in:
parent
4263effee5
commit
cba9b97300
1 changed files with 3 additions and 0 deletions
|
@ -104,6 +104,9 @@ gst_vaapi_parser_info_h264_finalize(GstVaapiParserInfoH264 *pi)
|
|||
case GST_H264_NAL_SUBSET_SPS:
|
||||
gst_h264_sps_clear(&pi->data.sps);
|
||||
break;
|
||||
case GST_H264_NAL_PPS:
|
||||
gst_h264_pps_clear(&pi->data.pps);
|
||||
break;
|
||||
case GST_H264_NAL_SEI:
|
||||
if (pi->data.sei) {
|
||||
g_array_unref(pi->data.sei);
|
||||
|
|
Loading…
Reference in a new issue