• wm4's avatar
    avformat/mp3dec: fix gapless audio when seeking in CBR mode · 92eef26e
    wm4 authored
    Removing a bunch of questionable hacks makes it work. These hacks
    apparently try to make concatenated mp3s with Lame headers seekable,
    which doesn't make too much sense anyway. The main change is that we
    trust the Xing header file size field now (the same field is used for
    seeking with Xing TOC). Note that a mp3 might contain an unknown number
    of unsupported additional tags, so we can't reliably compute this size
    manually.
    Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
    92eef26e
mp3dec.c 14.9 KB