diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-05-25 20:32:42 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-05-31 14:18:33 +0200 |
commit | 02ecf8d7f3fe6ad6bc493a37bfff65bfe9150113 (patch) | |
tree | 41ccb3dbc68aab4b803de74b0deb8f3eab21626e /libavcodec/get_bits.h | |
parent | eac8dcb1871c4e16c7288d7f447067a4d41b345e (diff) | |
download | ffmpeg-02ecf8d7f3fe6ad6bc493a37bfff65bfe9150113.tar.gz |
avcodec/vc2enc: Fix slice length
args->bytes here already includes prefix_bytes (see
SSIZE_ROUND macro), so including it here again and
forgetting it when offsetting skip seems wrong.
This only works because prefix_bytes is currently
always zero in this encoder.
(This has been added in b88be742fac7a77a8095e8155ba8790db4b77568
without any reason.)
Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/get_bits.h')
0 files changed, 0 insertions, 0 deletions