mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
smoothstreaming: avoid using an uninitialized manifest
If we did not set the manifest yet, early out in the seeking query. Coverity 1139737
This commit is contained in:
parent
15d00a32fd
commit
14f8172d2b
1 changed files with 3 additions and 1 deletions
|
@ -656,7 +656,9 @@ gst_mss_demux_src_query (GstPad * pad, GstObject * parent, GstQuery * query)
|
||||||
GstFormat fmt;
|
GstFormat fmt;
|
||||||
gint64 stop = -1;
|
gint64 stop = -1;
|
||||||
|
|
||||||
if (mssdemux->manifest && gst_mss_manifest_is_live (mssdemux->manifest)) {
|
if (!mssdemux->manifest) {
|
||||||
|
return FALSE; /* no seeking without manifest */
|
||||||
|
} else if (gst_mss_manifest_is_live (mssdemux->manifest)) {
|
||||||
return FALSE; /* no live seeking */
|
return FALSE; /* no live seeking */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue