From 19e3617dc00a535e6bcbc72a6c4bddb68f1f9d8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 3 Dec 2024 13:14:33 +0200 Subject: [PATCH] h264parse: Free SEI if parsing succeeds but alignment afterwards fails Part-of: --- .../gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.c b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.c index b9bd6c3ee5..278e4763ce 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.c @@ -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; }