Skip to content
Snippets Groups Projects
  • foo86's avatar
    a0349ae2
    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: default avatarJames Almer <jamrial@gmail.com>
    a0349ae2
    History
    avcodec/dca_parser: improve frame end search
    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: default avatarJames Almer <jamrial@gmail.com>
dca_parser.c 8.12 KiB