mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-16 03:50:05 +01:00
The current_sample field is meant to be the sample number, not an offset into
the sample data. Don't increment it by multiples of sc->sample_size. patch by Julian Scheid, julian _-at-_ sektor37 _-dot-_ de Originally committed as revision 5037 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
committed by
Diego Biurrun
parent
c7bb67c485
commit
a7f41f91e7
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user