]> git.sesse.net Git - ffmpeg/commit
avformat/mp3dec: Make MP3 seek fast
authorAndy Wu <tsunghung@chromium.org>
Tue, 1 Sep 2015 00:08:30 +0000 (17:08 -0700)
committerwm4 <nfxjfg@googlemail.com>
Sat, 5 Sep 2015 16:32:58 +0000 (18:32 +0200)
commitc43bd08f8b043df7e18110e5344283c37b8380c1
tree3aae7343d92bc2697b76e84dc3ab6174d2e0065d
parent237cf3786ef7dea60818fc3bc464f72ed4b4d833
avformat/mp3dec: Make MP3 seek fast

When AVFMT_FLAG_FAST_SEEK is specified, make MP3 seek operation as
fast as possible.

When no "-usetoc" is specified, the default operation is using TOC
if available; otherwise, uses linear interpolation. This is useful
when seeking a large MP3 file with no TOC available. One example is
Podcast, many MP3 files are large, but no CBR/VBR tags. Most of
them are actually CBR. Even in VBR cases, this option sacrifices the
accuracy of playback time in exchange for responsiveness.
libavformat/mp3dec.c