[FFmpeg-devel] [PATCH 2/4] avcodec/nvenc: Fix b-frame parameter handling

Timo Rothenpieler timo at rothenpieler.org
Thu Dec 25 22:16:21 CET 2014


> > +    if (avctx->max_b_frames < -1)
>> +        avctx->max_b_frames = -1;
>
> how do you get a value < -1 here ?
>

The check is probably not needed, as the minimum for the option already 
is -1.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141225/c157fc4d/attachment.asc>


More information about the ffmpeg-devel mailing list