OSDN Git Service

avformat/mp3dec: optimize mp3_seek() for dir < 0
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 1 Mar 2014 23:18:25 +0000 (00:18 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 1 Mar 2014 23:20:31 +0000 (00:20 +0100)
commit171dd67520b649a5b7a0f4fbff72ac88bbedfeab
tree178554a720ec36205d34a6d4778b8679e66027f0
parent9600486d10a9728f1503363334268ecfafa9b0e5
avformat/mp3dec: optimize mp3_seek() for dir < 0

this minimizes the amount of protocol seeks and reading needed in that case

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mp3dec.c