On Fri, Dec 02, 2016 at 10:13:26AM +0100, Steve Lhomme wrote:
> --- a/libavcodec/dxva2.c
> +++ b/libavcodec/dxva2.c
> @@ -41,19 +41,20 @@ unsigned ff_dxva2_get_surface_index(const AVCodecContext 
> *avctx,
>  #if CONFIG_D3D11VA
> -        if (avctx->pix_fmt == AV_PIX_FMT_D3D11VA_VLD && 
> ctx->d3d11va.surface[i] == surface) {
> +    if (avctx->pix_fmt == AV_PIX_FMT_D3D11VA_VLD)
> +    {

if (...) {

This is not VLC :)

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to