On Mon, Sep 25, 2017 at 10:04:30AM +0000, Luca Barbato wrote:
> --- a/libavcodec/qsv.c
> +++ b/libavcodec/qsv.c
> @@ -594,6 +594,11 @@ int ff_qsv_init_session_device(AVCodecContext *avctx, 
> mfxSession *psession,
>  
> +    err = MFXJoinSession(parent_session, session);
> +    if (err != MFX_ERR_NONE)
> +                return ff_qsv_print_error(avctx, err,
> +                                          "Error joining session");

Indentation is off.

> --- a/libavfilter/qsvvpp.c
> +++ b/libavfilter/qsvvpp.c
> @@ -515,6 +515,9 @@ static int init_vpp_session(AVFilterContext *avctx, 
> QSVVPPContext *s)
>      }
> +    ret = MFXJoinSession(device_hwctx->session, s->session);
> +    if (ret != MFX_ERR_NONE)
> +            return AVERROR_UNKNOWN;

same

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

Reply via email to