summaryrefslogtreecommitdiffstats
path: root/gst/flv
diff options
context:
space:
mode:
Diffstat (limited to 'gst/flv')
-rw-r--r--gst/flv/gstflvdemux.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/flv/gstflvdemux.c b/gst/flv/gstflvdemux.c
index 6448d6a5..afef17bd 100644
--- a/gst/flv/gstflvdemux.c
+++ b/gst/flv/gstflvdemux.c
@@ -354,6 +354,9 @@ gst_flv_demux_pull_tag (GstPad * pad, GstFLVDemux * demux)
gst_buffer_unref (buffer);
+ if (G_UNLIKELY (ret != GST_FLOW_OK))
+ goto beach;
+
/* Jump over tag type + size */
demux->offset += FLV_TAG_TYPE_SIZE;