The check is for color space, not range.
Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -977,7 +977,7 @@ int ff_formats_check_color_spaces(void *log, const AVFilterFormats *fmts) · 976 unmodified lines | ||
| 977 | 977 | { |
| 978 | 978 | for (int i = 0; fmts && i < fmts->nb_formats; i++) { |
| 979 | 979 | if (fmts->formats[i] == AVCOL_SPC_RESERVED) { |
| 980 | − av_log(log, AV_LOG_ERROR, "Invalid color range\n"); | |
| 980 | + av_log(log, AV_LOG_ERROR, "Invalid color space\n"); | |
| 981 | 981 | return AVERROR(EINVAL); |
| 982 | 982 | } |
| 983 | 983 | } |