mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +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;
|
||||
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 */
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue