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;
|
return 1;
|
||||||
// ERROR
|
// ERROR
|
||||||
else
|
else
|
||||||
return -1;
|
return AVERROR(EINVAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ff_h261_encode_picture_header(MpegEncContext *s, int picture_number)
|
void ff_h261_encode_picture_header(MpegEncContext *s, int picture_number)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user