Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-01-31 21:49:57 +0300
committerMichael Niedermayer <michaelni@gmx.at>2015-01-31 21:59:53 +0300
commit3aefa1eb69c48563302d1f8869d424283b66031d (patch)
tree0f43e7bbaeac5cb38df32971626e4adabf8b991b /libavcodec/h261enc.c
parentb9c3f041e029ccb5c0462fb46eb8b95f69cd9a9c (diff)
avcodec/h261enc: More specific return code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h261enc.c')
-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)