aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/celp_math.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-21 02:42:16 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-21 03:13:46 +0200
commitb6267901c466c482b2f1af3578b0a6d88265d144 (patch)
tree1fce206dc13a3d14c379f7f232d229351f03227a /libavcodec/celp_math.c
parent7696a392e2d28efd1af6271f86b67b6ec4fa6408 (diff)
downloadffmpeg-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/celp_math.c')
0 files changed, 0 insertions, 0 deletions