Commit 7ad7f083 authored by diego's avatar diego

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5037 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 27049f82
...@@ -1835,7 +1835,7 @@ again: ...@@ -1835,7 +1835,7 @@ again:
sc->current_sample++; sc->current_sample++;
}else if(idx + 1 < sc->sample_to_chunk_sz){ }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: readchunk:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment