aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avc.c
diff options
context:
space:
mode:
authorMaryla <maryla-at-google.com@ffmpeg.org>2021-08-30 14:10:51 +0200
committerJames Zern <jzern@google.com>2021-09-25 15:31:36 -0700
commit9f4708c22def8a0f13c3b2bc39baca928bb58aaa (patch)
treef6462ecdf28b93e0711db2a40b05bc8cb1997805 /libavformat/avc.c
parent0a6eed319d7404443d6250003f761d21aac57dbd (diff)
downloadffmpeg-9f4708c22def8a0f13c3b2bc39baca928bb58aaa.tar.gz
webp: fix transforms after a palette with pixel packing.
When a color indexing transform with 16 or fewer colors is used, WebP uses "pixel packing", i.e. storing several pixels in one byte, which virtually reduces the width of the image (see WebPContext's reduced_width field). This reduced_width should always be used when reading and applying subsequent transforms. Updated patch with added fate test. The source image dual_transform.webp can be downloaded by cloning https://chromium.googlesource.com/webm/libwebp-test-data/ Fixes: 9368 Signed-off-by: James Zern <jzern@google.com>
Diffstat (limited to 'libavformat/avc.c')
0 files changed, 0 insertions, 0 deletions