]> git.sesse.net Git - ffmpeg/commit
avcodec/utvideoenc: Don't use bitcounts when byte-aligned
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 25 Mar 2021 09:38:12 +0000 (10:38 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Tue, 30 Mar 2021 10:36:32 +0000 (12:36 +0200)
commitdf1c30f139bd4c4d5426d4fc169a1a2c16f95163
tree8749d174d74b3e2ebe36eb5081703ce469997c6c
parent67f6e7ed6ddac43139984b6956f45bb5c1861546
avcodec/utvideoenc: Don't use bitcounts when byte-aligned

Despite write_huff_codes() receiving an ordinary buffer (not a
PutBitContext), it returned the amount of data written in bits,
not in bytes. This has been changed: There is now no intermediate
bitcount any more.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/utvideoenc.c