diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-10-06 02:31:21 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-10-09 19:31:47 +0200 |
commit | d2dc6440e6d46d34cfb7d925d4a5420cebf5bf66 (patch) | |
tree | 40ddbed1eb72907981b4adbe83f9f788d899a368 /libavfilter/af_afir.h | |
parent | b9133bce0447bee9f5b4052c1467eb6908214acb (diff) | |
download | ffmpeg-d2dc6440e6d46d34cfb7d925d4a5420cebf5bf66.tar.gz |
avcodec/vc2enc: Don't use bitcount when byte-aligned
(There is a small issue that is now being treated differently:
The earlier code would record a position in a buffer that
is being written to via put_bits(), then write data,
then overwrite the byte at the position recorded earlier
and only then flush the PutBitContext. In case there was
no writeout in the meantime, said flush would overwrite
what one has just written. This never happened in my tests,
but maybe it can happen. In this case this commit fixes
this issue by flushing before overwriting the old data.)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/af_afir.h')
0 files changed, 0 insertions, 0 deletions