diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-11-25 15:49:50 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-11-25 15:50:46 +0100 |
commit | 26c531cc223d5ac6e5fd78f2364247a3d902b946 (patch) | |
tree | 2b7eaa11b16055894c024b7d93f7267b2f5c16fa /libavutil | |
parent | be2c0bc9497484632eff9267e9a3c85cae212dc9 (diff) | |
download | ffmpeg-26c531cc223d5ac6e5fd78f2364247a3d902b946.tar.gz |
lavu/opt: fix range shown in set_format() log message
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/opt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/opt.c b/libavutil/opt.c index 24f7439efe..a383783176 100644 --- a/libavutil/opt.c +++ b/libavutil/opt.c @@ -440,7 +440,7 @@ static int set_format(void *obj, const char *name, int fmt, int search_flags, if (fmt < -1 || fmt > max) { av_log(obj, AV_LOG_ERROR, - "Value %d for parameter '%s' out of %s format range [0 - %d]\n", + "Value %d for parameter '%s' out of %s format range [-1 - %d]\n", fmt, name, desc, max); return AVERROR(ERANGE); } |