Commit 9b50a12b authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

h264parse: Don't unref buffer that was unreffed just a few lines before already

parent 12ffc7f5
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment