mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avcodec/h261enc: More specific return code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
b9c3f041e0
commit
3aefa1eb69
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user