avcodec/mpegvideo_enc: check that max_b_frames is not negative
Fixes crash found by saste
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Showing
Please
register
or
sign in
to comment
Fixes crash found by saste
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>