mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
h264parse: Don't unref buffer that was unreffed just a few lines before already
This commit is contained in:
parent
12ffc7f5e4
commit
9b50a12b52
1 changed files with 0 additions and 1 deletions
|
@ -887,7 +887,6 @@ gst_h264_parse_handle_frame_packetized (GstBaseParse * parse,
|
||||||
if (h264parse->split_packetized) {
|
if (h264parse->split_packetized) {
|
||||||
GST_ELEMENT_ERROR (h264parse, STREAM, FAILED, (NULL),
|
GST_ELEMENT_ERROR (h264parse, STREAM, FAILED, (NULL),
|
||||||
("invalid AVC input data"));
|
("invalid AVC input data"));
|
||||||
gst_buffer_unref (buffer);
|
|
||||||
|
|
||||||
return GST_FLOW_ERROR;
|
return GST_FLOW_ERROR;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue