diff --git a/libavformat/mov.c b/libavformat/mov.c index 230860ba41..36084e53c6 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1835,7 +1835,7 @@ again: sc->current_sample++; }else if(idx + 1 < sc->sample_to_chunk_sz){ - sc->current_sample += sc->sample_size * sc->sample_to_chunk[idx].count; + sc->current_sample += sc->sample_to_chunk[idx].count; } readchunk: