aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref/lavf/mkv
diff options
context:
space:
mode:
authorLeo Izen <leo.izen@gmail.com>2024-07-12 15:03:16 -0400
committerLeo Izen <leo.izen@gmail.com>2024-07-18 21:16:18 -0400
commit4225f51c62b69f12e51151c2c73245342890f794 (patch)
tree0468df0b271d2c33ec5de98e22f652ea48bcc163 /tests/ref/lavf/mkv
parent483fd732abc3eda80681811250cd4d2937ade265 (diff)
downloadffmpeg-4225f51c62b69f12e51151c2c73245342890f794.tar.gz
avcodec/pngdec: avoid erroring with sBIT on indexed-color images
Indexed color images use three colors for sBIT, but the function ff_png_get_nb_channels returns 1 in this case. We should avoid erroring out on valid files in this scenario. Regression since 84b454935fae2633a8a5dd075e22393f3e8f932f. Signed-off-by: Leo Izen <leo.izen@gmail.com> Reported-by: Ramiro Polla <ramiro.polla@gmail.com> Reviewed-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'tests/ref/lavf/mkv')
0 files changed, 0 insertions, 0 deletions