> +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.
signature.asc
Description: OpenPGP digital signature
___
On Thu, Dec 25, 2014 at 02:55:32PM +0100, t...@rothenpieler.org wrote:
> From: Timo Rothenpieler
>
> ---
> libavcodec/nvenc.c | 12 ++--
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
> index 345fb78..6a37ea6 100644
> --- a/lib