aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-01-31 19:49:57 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-01-31 19:59:53 +0100
commit3aefa1eb69c48563302d1f8869d424283b66031d (patch)
tree0f43e7bbaeac5cb38df32971626e4adabf8b991b
parentb9c3f041e029ccb5c0462fb46eb8b95f69cd9a9c (diff)
downloadffmpeg-3aefa1eb69c48563302d1f8869d424283b66031d.tar.gz
avcodec/h261enc: More specific return code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/h261enc.c2
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)