summaryrefslogtreecommitdiff
path: root/gst/videoparsers/gsth265parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/videoparsers/gsth265parse.c')
-rw-r--r--gst/videoparsers/gsth265parse.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gst/videoparsers/gsth265parse.c b/gst/videoparsers/gsth265parse.c
index f76ce43d2..79e3fa55c 100644
--- a/gst/videoparsers/gsth265parse.c
+++ b/gst/videoparsers/gsth265parse.c
@@ -872,7 +872,6 @@ gst_h265_parse_handle_frame_packetized (GstBaseParse * parse,
if (h265parse->split_packetized) {
GST_ELEMENT_ERROR (h265parse, STREAM, FAILED, (NULL),
("invalid HEVC input data"));
- gst_buffer_unref (buffer);
return GST_FLOW_ERROR;
} else {