diff options
-rw-r--r-- | libavcodec/h261enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h261enc.c b/libavcodec/h261enc.c index 87eb94f1bd..b888a366a0 100644 --- a/libavcodec/h261enc.c +++ b/libavcodec/h261enc.c @@ -46,7 +46,7 @@ int ff_h261_get_picture_format(int width, int height) return 1; // ERROR else - return -1; + return AVERROR(EINVAL); } void ff_h261_encode_picture_header(MpegEncContext *s, int picture_number) |