diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-01-20 20:44:41 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-01-22 06:57:17 +0100 |
commit | 0421b6dc7a1463b9263b9d63533dd7c5be8ffa97 (patch) | |
tree | 5fcb38b8c6afc0b648b8313f64bc46b1c15c48f9 /libswscale | |
parent | 4f11bed7a1418ec260243a9e6f9c3f5c52a46ea7 (diff) | |
download | ffmpeg-0421b6dc7a1463b9263b9d63533dd7c5be8ffa97.tar.gz |
sws: In case of an invalid scaler algorithm, show the invalid value.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c index 46ebb7f647..3ddc15d50c 100644 --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -818,7 +818,7 @@ int sws_init_context(SwsContext *c, SwsFilter *srcFilter, SwsFilter *dstFilter) |SWS_SPLINE |SWS_BICUBLIN); if(!i || (i & (i-1))) { - av_log(c, AV_LOG_ERROR, "Exactly one scaler algorithm must be chosen\n"); + av_log(c, AV_LOG_ERROR, "Exactly one scaler algorithm must be chosen, got %X\n", i); return AVERROR(EINVAL); } /* sanity check */ |