diff --git a/libavformat/mov.c b/libavformat/mov.c index 230860ba41892e7dc285a1fb4db11111c5518c3b..36084e53c6b37c886b687932ad1e3398e986d669 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: