Commit 3aefa1eb authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/h261enc: More specific return code

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b9c3f041
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment