• Reimar Döffinger's avatar
    Detect byte-swapped AC-3 (aka DNET) and support decoding it directly. · c9f6eab1
    Reimar Döffinger authored
    This allows the AC-3 decoder to be used directly with RealMedia
    decoders that unlike the libavformat one do not byte-swap automatically.
    Since the new code is only used in case we would fail directly otherwise
    there should be no risk for regressions.
    The "buf" pointer needs to be overwritten since otherwise the CRC check fails.
    c9f6eab1
ac3dec.c 52.2 KB