Browse Source

lavu/opt: fix range shown in set_format() log message

tags/n1.1
Stefano Sabatini 13 years ago
parent
commit
26c531cc22
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavutil/opt.c

+ 1
- 1
libavutil/opt.c View File

@@ -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);
}


Loading…
Cancel
Save