mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-07 07:50:53 +00:00
Make config_input() return AVERROR(EINVAL) in place of -1.
Originally committed as revision 24595 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
b59d12b1b9
commit
d6bb31a46b
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ static int config_input(AVFilterLink *link)
|
||||||
av_log(ctx, AV_LOG_ERROR,
|
av_log(ctx, AV_LOG_ERROR,
|
||||||
"Output area %d:%d:%d:%d not within the input area 0:0:%d:%d or zero-sized\n",
|
"Output area %d:%d:%d:%d not within the input area 0:0:%d:%d or zero-sized\n",
|
||||||
crop->x, crop->y, crop->w, crop->h, link->w, link->h);
|
crop->x, crop->y, crop->w, crop->h, link->w, link->h);
|
||||||
return -1;
|
return AVERROR(EINVAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue