mirror of https://github.com/FFmpeg/FFmpeg.git
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>pull/369/head
parent
e4f499f842
commit
6556146aa0
1 changed files with 13 additions and 2 deletions
Loading…
Reference in new issue