summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2015-04-15 21:07:35 +0200
committerSebastian Dröge <sebastian@centricular.com>2015-04-15 21:07:59 +0200
commit9b50a12b528097e189eced13b0a6defbf6777e49 (patch)
treebe1ec8e09739c8c6564161424c909bfebe417ed3
parent12ffc7f5e48102a3ad069b09fe80c4607206686b (diff)
h264parse: Don't unref buffer that was unreffed just a few lines before already
-rw-r--r--gst/videoparsers/gsth264parse.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c
index f7a56e2c3..5d3ac7c4d 100644
--- a/gst/videoparsers/gsth264parse.c
+++ b/gst/videoparsers/gsth264parse.c
@@ -887,7 +887,6 @@ gst_h264_parse_handle_frame_packetized (GstBaseParse * parse,
if (h264parse->split_packetized) {
GST_ELEMENT_ERROR (h264parse, STREAM, FAILED, (NULL),
("invalid AVC input data"));
- gst_buffer_unref (buffer);
return GST_FLOW_ERROR;
} else {