h264parse: Free SEI if parsing succeeds but alignment afterwards fails

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8056>
This commit is contained in:
Sebastian Dröge 2024-12-03 13:14:33 +02:00 committed by GStreamer Marge Bot
parent 8830c65b8f
commit 19e3617dc0

View file

@ -1407,6 +1407,7 @@ gst_h264_parser_parse_sei_message (GstH264NalParser * nalparser,
error:
GST_WARNING ("error parsing \"Sei message\"");
gst_h264_sei_clear (sei);
return GST_H264_PARSER_ERROR;
}