diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-17 21:29:58 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-18 23:16:44 +0200 |
commit | 6556146aa0c21c32981405b45bb7eea7376e54c9 (patch) | |
tree | 492af738820b0f0d4df6522afee95abbe4872e0f /libavcodec/mips/wmv2dsp_mmi.c | |
parent | e4f499f8422708fc56f8851220b3ae78ecee76f8 (diff) | |
download | ffmpeg-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/mips/wmv2dsp_mmi.c')
0 files changed, 0 insertions, 0 deletions