mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 23:18:52 +00:00
oggdemux: Handle errors from _get_next_page in _do_seek.
If the source element failed here, oggdemux would crash. Fixes #623218.
This commit is contained in:
parent
10e89016ad
commit
3c06cabb0b
1 changed files with 2 additions and 1 deletions
|
@ -2085,7 +2085,8 @@ gst_ogg_demux_do_seek (GstOggDemux * ogg, GstSegment * segment,
|
||||||
if (ret == GST_FLOW_LIMIT) {
|
if (ret == GST_FLOW_LIMIT) {
|
||||||
GST_LOG_OBJECT (ogg, "reached limit");
|
GST_LOG_OBJECT (ogg, "reached limit");
|
||||||
break;
|
break;
|
||||||
}
|
} else if (ret != GST_FLOW_OK)
|
||||||
|
goto seek_error;
|
||||||
|
|
||||||
/* get the stream */
|
/* get the stream */
|
||||||
pad = gst_ogg_chain_get_stream (chain, ogg_page_serialno (&og));
|
pad = gst_ogg_chain_get_stream (chain, ogg_page_serialno (&og));
|
||||||
|
|
Loading…
Reference in a new issue