From 3b811bcf674038ab298d5dd194992e4e4929d8f2 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sun, 24 Mar 2013 13:46:15 +0100 Subject: [PATCH] lavfi/colormatrix: reword error message in init Change: "source and destination color space are identical" which is a true fact, but doesn't tell nothing about what's wrong, to: "Source and destination color space must not be identical" which tells more explicitly what the problem is. --- libavfilter/vf_colormatrix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_colormatrix.c b/libavfilter/vf_colormatrix.c index 316fced99b..c57be41559 100644 --- a/libavfilter/vf_colormatrix.c +++ b/libavfilter/vf_colormatrix.c @@ -170,7 +170,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args) } if (color->source == color->dest) { - av_log(ctx, AV_LOG_ERROR, "source and destination color space are identical\n"); + av_log(ctx, AV_LOG_ERROR, "Source and destination color space must not be identical\n"); return AVERROR(EINVAL); }