[FFmpeg-cvslog] r24595 - trunk/libavfilter/vf_crop.c
stefano
subversion
Fri Jul 30 13:56:01 CEST 2010
Author: stefano
Date: Fri Jul 30 13:56:01 2010
New Revision: 24595
Log:
Make config_input() return AVERROR(EINVAL) in place of -1.
Modified:
trunk/libavfilter/vf_crop.c
Modified: trunk/libavfilter/vf_crop.c
==============================================================================
--- trunk/libavfilter/vf_crop.c Fri Jul 30 13:33:31 2010 (r24594)
+++ trunk/libavfilter/vf_crop.c Fri Jul 30 13:56:01 2010 (r24595)
@@ -113,7 +113,7 @@ static int config_input(AVFilterLink *li
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",
crop->x, crop->y, crop->w, crop->h, link->w, link->h);
- return -1;
+ return AVERROR(EINVAL);
}
return 0;
More information about the ffmpeg-cvslog
mailing list