diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-21 02:42:16 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-21 03:13:46 +0200 |
commit | b6267901c466c482b2f1af3578b0a6d88265d144 (patch) | |
tree | 1fce206dc13a3d14c379f7f232d229351f03227a /libavcodec/flashsv.c | |
parent | 7696a392e2d28efd1af6271f86b67b6ec4fa6408 (diff) | |
download | ffmpeg-b6267901c466c482b2f1af3578b0a6d88265d144.tar.gz |
mp3demux: Rewrite xing TOC based seeking
The libav code depends on mp3 startcodes only occuring at the start of
frames. But there is nothing in mp3 that prevents them occuring elsewhere
by chance. Thus the code would fail randomly, the new code searches for 3
consecutive valid frames. If this turns out to be still insufficient the
number can be raised further, or additional checks added.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/flashsv.c')
0 files changed, 0 insertions, 0 deletions