projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10e8901
)
oggdemux: Handle errors from _get_next_page in _do_seek.
author
Fredrik Söderquist
<fs@opera.com>
Thu, 24 Jun 2010 14:55:57 +0000
(16:55 +0200)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Wed, 30 Jun 2010 16:20:55 +0000
(17:20 +0100)
If the source element failed here, oggdemux would crash.
Fixes #623218.
ext/ogg/gstoggdemux.c
patch
|
blob
|
history
diff --git
a/ext/ogg/gstoggdemux.c
b/ext/ogg/gstoggdemux.c
index
53ab457
..
bb5362f
100644
(file)
--- a/
ext/ogg/gstoggdemux.c
+++ b/
ext/ogg/gstoggdemux.c
@@
-2085,7
+2085,8
@@
gst_ogg_demux_do_seek (GstOggDemux * ogg, GstSegment * segment,
if (ret == GST_FLOW_LIMIT) {
GST_LOG_OBJECT (ogg, "reached limit");
break;
- }
+ } else if (ret != GST_FLOW_OK)
+ goto seek_error;
/* get the stream */
pad = gst_ogg_chain_get_stream (chain, ogg_page_serialno (&og));