diff options
-rw-r--r-- | gst/qtdemux/qtdemux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c index b6457ce28..7be9986f0 100644 --- a/gst/qtdemux/qtdemux.c +++ b/gst/qtdemux/qtdemux.c @@ -7359,12 +7359,13 @@ qtdemux_expose_streams (GstQTDemux * qtdemux) GST_DEBUG_OBJECT (qtdemux, "no samples for stream; discarding"); gst_qtdemux_stream_free (qtdemux, stream); memmove (&(qtdemux->streams[i]), &(qtdemux->streams[i + 1]), sizeof (QtDemuxStream *) * (GST_QTDEMUX_MAX_STREAMS - i - 1)); qtdemux->streams[GST_QTDEMUX_MAX_STREAMS - 1] = NULL; qtdemux->n_streams--; + i--; continue; } /* parse number of initial sample to set frame rate cap */ while (sample_num < stream->n_samples && sample_num < samples) { if (!qtdemux_parse_samples (qtdemux, stream, sample_num)) |