• foo86's avatar
    avcodec/dca: simplify 'residual ok' flag tracking · 801dbf02
    foo86 authored
    Move this from separate structure field to a packet flag.
    
    Behavior should be equivalent, except that residual flag is now properly
    cleared when packet has no core frame at all.
    
    Also print a message when forcing recovery mode due to invalid residual
    to make debugging easier.
    Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
    801dbf02
dcadec.c 13.5 KB