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

2014-12-25 Thread timo
From: Timo Rothenpieler t...@rothenpieler.org --- 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/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -155,7 +155,6 @@

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

2014-12-25 Thread Timo Rothenpieler
+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 ___