Re: [libav-devel] [PATCH 1/1] NVENC: Update check for Lookahead

2016-12-19 Thread Luca Barbato
On 19/12/2016 15:36, Yogender Gupta wrote:
> I found one small bug in NVENC, the value of rc_lookahead is initialized to 
> -1 but the check in nvenc.c checks for if (ctx->rc_lookahead) rather than if 
> (ctx->rc_lookahead > 0) , thereby considering lookahead enabled all the time.
> 

Looks fine, thank you!

lu

___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel


[libav-devel] [PATCH 1/1] NVENC: Update check for Lookahead

2016-12-19 Thread Yogender Gupta
I found one small bug in NVENC, the value of rc_lookahead is initialized to -1 
but the check in nvenc.c checks for if (ctx->rc_lookahead) rather than if 
(ctx->rc_lookahead > 0) , thereby considering lookahead enabled all the time.

Thanks,


---
This email message is for the sole use of the intended recipient(s) and may 
contain
confidential information.  Any unauthorized review, use, disclosure or 
distribution
is prohibited.  If you are not the intended recipient, please contact the 
sender by
reply email and destroy all copies of the original message.
---


0001-NVENC-Update-check-for-Lookahead.patch
Description: 0001-NVENC-Update-check-for-Lookahead.patch
___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel