Revision ab3efd00 libavfilter/vsrc_nullsrc.c

View differences:

libavfilter/vsrc_nullsrc.c
39 39

  
40 40
    if (priv->w <= 0 || priv->h <= 0) {
41 41
        av_log(ctx, AV_LOG_ERROR, "Non-positive size values are not acceptable.\n");
42
        return -1;
42
        return AVERROR(EINVAL);
43 43
    }
44 44

  
45 45
    return 0;

Also available in: Unified diff