[FFmpeg-devel] [PATCH] lavc/qsvenc: Fix some code indentations

Zhong Li lizhong1008 at gmail.com
Wed Nov 27 03:11:25 EET 2019


LGTM. WIll apply

Linjie Fu <linjie.fu at intel.com> 于2019年11月26日周二 下午12:01写道:
>
> Signed-off-by: Linjie Fu <linjie.fu at intel.com>
> ---
>  libavcodec/qsvenc.c | 8 ++++----
>  libavcodec/qsvenc.h | 2 +-
>  2 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c
> index 93d49ba..e176d57 100644
> --- a/libavcodec/qsvenc.c
> +++ b/libavcodec/qsvenc.c
> @@ -764,10 +764,10 @@ FF_ENABLE_DEPRECATION_WARNINGS
>
>  #if QSV_HAVE_EXT_VP9_PARAM
>      if (avctx->codec_id == AV_CODEC_ID_VP9) {
> -       q->extvp9param.Header.BufferId = MFX_EXTBUFF_VP9_PARAM;
> -       q->extvp9param.Header.BufferSz = sizeof(q->extvp9param);
> -       q->extvp9param.WriteIVFHeaders = MFX_CODINGOPTION_OFF;
> -       q->extparam_internal[q->nb_extparam_internal++] = (mfxExtBuffer *)&q->extvp9param;
> +        q->extvp9param.Header.BufferId = MFX_EXTBUFF_VP9_PARAM;
> +        q->extvp9param.Header.BufferSz = sizeof(q->extvp9param);
> +        q->extvp9param.WriteIVFHeaders = MFX_CODINGOPTION_OFF;
> +        q->extparam_internal[q->nb_extparam_internal++] = (mfxExtBuffer *)&q->extvp9param;
>      }
>  #endif
>
> diff --git a/libavcodec/qsvenc.h b/libavcodec/qsvenc.h
> index a3e9357..ee35582 100644
> --- a/libavcodec/qsvenc.h
> +++ b/libavcodec/qsvenc.h
> @@ -125,7 +125,7 @@ typedef struct QSVEncContext {
>      mfxExtMultiFrameControl extmfc;
>  #endif
>  #if QSV_HAVE_EXT_VP9_PARAM
> -   mfxExtVP9Param  extvp9param;
> +    mfxExtVP9Param  extvp9param;
>  #endif
>
>      mfxExtOpaqueSurfaceAlloc opaque_alloc;
> --
> 2.7.4
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list