mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
[MOVED FROM BAD 37/57] gst/flv/gstflvdemux.c: Error out early if pulling a tag failed.
Original commit message from CVS: * gst/flv/gstflvdemux.c: (gst_flv_demux_pull_tag): Error out early if pulling a tag failed.
This commit is contained in:
parent
f945537a8a
commit
c61d041aca
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue