mirror of
https://github.com/librempeg/librempeg
synced 2024-11-22 00:51:37 +00:00
avfilter/formats: correct error message
The check is for color space, not range. Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
ca6a804950
commit
0baf9baa3c
@ -1003,7 +1003,7 @@ int ff_formats_check_color_spaces(void *log, const AVFilterFormats *fmts)
|
||||
{
|
||||
for (int i = 0; fmts && i < fmts->nb_formats; i++) {
|
||||
if (fmts->formats[i] == AVCOL_SPC_RESERVED) {
|
||||
av_log(log, AV_LOG_ERROR, "Invalid color range\n");
|
||||
av_log(log, AV_LOG_ERROR, "Invalid color space\n");
|
||||
return AVERROR(EINVAL);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user