Revision d6bb31a4 libavfilter/vf_crop.c

View differences:

libavfilter/vf_crop.c
113 113
        av_log(ctx, AV_LOG_ERROR,
114 114
               "Output area %d:%d:%d:%d not within the input area 0:0:%d:%d or zero-sized\n",
115 115
               crop->x, crop->y, crop->w, crop->h, link->w, link->h);
116
        return -1;
116
        return AVERROR(EINVAL);
117 117
    }
118 118

  
119 119
    return 0;

Also available in: Unified diff