• Hendrik Leppkes's avatar
    dca_parser: don't overwrite the sample rate, it may not be correct · 00ae5b40
    Hendrik Leppkes authored
    The parser only reads the dca core sample rate, which is limited to a
    maximum of 48000 Hz, while X96 and HD extensions can increase the sample
    rate up to 192000 Hz.
    
    This change prevents the parser and decoder fighting over the sample rate,
    potentially confusing user applications. This also fixes sample rate
    display of >48000Hz files with ffmpeg/ffprobe when using libdcadec.
    
    Fixes ticket #4397
    00ae5b40
dca_parser.c 5.66 KB