summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-10-13 03:11:37 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-10-18 15:29:34 +0200
commit746ab8327c0c8ae1b7e894f3c21d7b7a44c0a0b3 (patch)
treecccc90794568d57c91007212c5f61f5cde257351 /tools
parentc9e8f031955ffc00d681bd31e6ad3c8146cf015d (diff)
avcodec/asvenc: Avoid reversing output data twice
The ASUS V2 format is designed for a little-endian bitstream reader, yet our encoder used an ordinary big-endian bitstream writer to write it; the bits of every byte were swapped at the end and some data (namely the numbers not in static tables) had to be bitreversed before writing it at all, so that it would be reversed twice. This commit stops doing so; instead, a little-endian bitstream writer is used. This also necessitated to switch certain static tables, which required trivial modifications to the decoder (that uses the same tables). Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions