mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
avidemux: Don't seek on empty streams
This commit is contained in:
parent
a6ed612f42
commit
6e849f84fc
1 changed files with 1 additions and 1 deletions
|
@ -3484,7 +3484,7 @@ gst_avi_demux_do_seek (GstAviDemux * avi, GstSegment * segment)
|
|||
GstAviStream *ostream;
|
||||
|
||||
ostream = &avi->stream[i];
|
||||
if (ostream == stream)
|
||||
if ((ostream == stream) || (ostream->index == NULL))
|
||||
continue;
|
||||
|
||||
/* get the entry index for the requested position */
|
||||
|
|
Loading…
Reference in a new issue