diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-07-30 11:56:01 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-07-30 11:56:01 +0000 |
commit | d6bb31a46b49ea6b057066ccefac2bd65d81b30c (patch) | |
tree | 0f287b5521820dcc41b5ff8a207ed5685fee5f5f | |
parent | b59d12b1b920c0bbdaca5ec59e4d56ffa1535d1d (diff) | |
download | ffmpeg-d6bb31a46b49ea6b057066ccefac2bd65d81b30c.tar.gz |
Make config_input() return AVERROR(EINVAL) in place of -1.
Originally committed as revision 24595 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavfilter/vf_crop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_crop.c b/libavfilter/vf_crop.c index e71a77bce6..83cc99848b 100644 --- a/libavfilter/vf_crop.c +++ b/libavfilter/vf_crop.c @@ -113,7 +113,7 @@ static int config_input(AVFilterLink *link) 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; |