• Karsten Otto's avatar
    aadec: improve eof detection · c1260659
    Karsten Otto authored
    Remember the end position of audio content in the file and check it during
    read_packet. There always seems to be other data beyond it, which could be
    misinterpreted as more audio. Also add some extra avio_read error checks,
    to bail early in case of a broken/truncated file.
    Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
    c1260659
aadec.c 11 KB