aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGyan Doshi <ffmpeg@gyani.pro>2024-08-28 15:51:45 +0530
committerGyan Doshi <ffmpeg@gyani.pro>2024-09-01 10:10:16 +0530
commitb5daaa1503fd149a8e6c4964266ceb93fd7d09cd (patch)
treecff1257762c38bede67f89af34fbf6e9b896b7a0
parenta4228a0ac151695b1763bc613b025cddd3e43488 (diff)
downloadffmpeg-b5daaa1503fd149a8e6c4964266ceb93fd7d09cd.tar.gz
avfilter/formats: correct error message
The check is for color space, not range.
-rw-r--r--libavfilter/formats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/formats.c b/libavfilter/formats.c
index eabc3ec946..2b570b466e 100644
--- a/libavfilter/formats.c
+++ b/libavfilter/formats.c
@@ -977,7 +977,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);
}
}