• foo86's avatar
    avcodec/dca_parser: improve frame end search · a0349ae2
    foo86 authored
    Parse core frame size directly when searching for frame end instead of
    using value extracted from previous frame.
    
    Account for unused bits when calculating sync word distance for 14-bit
    streams to avoid alias sync detection.
    
    Parse EXSS frame size and skip over EXSS frame to avoid alias sync
    detection.
    Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
    a0349ae2
dca_parser.c 8.12 KB