• wm4's avatar
    avformat/mp3dec: allow enabling generic seek mode · c3a73666
    wm4 authored
    "-usetoc 2" now invokes the generic seek and indexing mode. This mode
    skips data until the seek target is reached, and this is exact. It also
    makes gapless audio actually work if a seek past the start of the file
    is involved.
    
    Change the fate-gapless-mp3 test to use the new mode, and move the old
    one to fate-gapless-mp3-toc (since the test forces use of the Xing TOC).
    The new mode has a different result for the seek - this result is
    actually correct.
    Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
    c3a73666
gapless-mp3 270 Bytes