mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
qtdemux: Fix off-by-one logic error in frame rate cap regression commit
This commit is contained in:
parent
f1c61e1d84
commit
8d801f41d8
1 changed files with 1 additions and 1 deletions
|
@ -5940,7 +5940,7 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak)
|
||||||
if (G_UNLIKELY (stream->min_duration == 0)) {
|
if (G_UNLIKELY (stream->min_duration == 0)) {
|
||||||
guint32 sample_num = 1;
|
guint32 sample_num = 1;
|
||||||
|
|
||||||
while (sample_num <= stream->n_samples && stream->min_duration == 0) {
|
while (sample_num < stream->n_samples && stream->min_duration == 0) {
|
||||||
if (!qtdemux_parse_samples (qtdemux, stream, sample_num))
|
if (!qtdemux_parse_samples (qtdemux, stream, sample_num))
|
||||||
goto samples_failed;
|
goto samples_failed;
|
||||||
++sample_num;
|
++sample_num;
|
||||||
|
|
Loading…
Reference in a new issue