mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
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
2dadd8a0cc
commit
46c603da93
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-10-27 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||
|
||||
* gst/flv/gstflvdemux.c: (gst_flv_demux_pull_tag):
|
||||
Error out early if pulling a tag failed.
|
||||
|
||||
2008-10-27 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||
|
||||
* gst/flv/gstflvdemux.c: (gst_flv_demux_create_index),
|
||||
|
|
|
@ -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