mirror of https://github.com/FFmpeg/FFmpeg.git
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 84b454935f
.
Signed-off-by: Leo Izen <leo.izen@gmail.com>
Reported-by: Ramiro Polla <ramiro.polla@gmail.com>
Reviewed-by: Marton Balint <cus@passwd.hu>
release/6.1
parent
69bcdb4575
commit
09c1c0b126
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue