projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f945537
)
[MOVED FROM BAD 37/57] gst/flv/gstflvdemux.c: Error out early if pulling a tag failed.
author
Sebastian Dröge
<slomo@circular-chaos.org>
Mon, 27 Oct 2008 09:27:18 +0000
(09:27 +0000)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Tue, 12 May 2009 19:20:58 +0000
(21:20 +0200)
Original commit message from CVS:
* gst/flv/gstflvdemux.c: (gst_flv_demux_pull_tag):
Error out early if pulling a tag failed.
gst/flv/gstflvdemux.c
patch
|
blob
|
history
diff --git
a/gst/flv/gstflvdemux.c
b/gst/flv/gstflvdemux.c
index
6448d6a
..
afef17b
100644
(file)
--- 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;