aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/xpmdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-17 21:29:58 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-18 23:16:44 +0200
commit6556146aa0c21c32981405b45bb7eea7376e54c9 (patch)
tree492af738820b0f0d4df6522afee95abbe4872e0f /libavcodec/xpmdec.c
parente4f499f8422708fc56f8851220b3ae78ecee76f8 (diff)
downloadffmpeg-6556146aa0c21c32981405b45bb7eea7376e54c9.tar.gz
avfilter/vf_zscale: Don't make assumptions about zimg's range enums
zimg's color range enum values are off-by-one compared to ours; therefore the code just adds one when converting from theirs to ours. Yet this is not how one should deal with enums; use a switch instead. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/xpmdec.c')
0 files changed, 0 insertions, 0 deletions