• bnnm's avatar
    avcodec/wmadec: fix WMA gapless playback · 19802d17
    bnnm authored
    Fixes trac issue #7473.
    
    Removes encoder delay (skip samples) and writes remaining frame samples after EOF to get correct sample count.
    
    Output is now accurate vs players that use Microsoft's codecs (Windows Media Format Runtime).
    
    Tested vs encode>decode WMAv2 with MS's codecs and most sample rate/bit rate/channel/mode combinations in ASF/XWMA.
    WMAv1 appears to use the same delay, from FFmpeg samples.
    Signed-off-by: 's avatarbnnm <bananaman255@gmail.com>
    19802d17
wma.mak 2.45 KB