[FFmpeg-devel] [PATCH 3/8] lavc/libvpxenc: reindent

James Zern jzern at google.com
Tue Feb 28 22:50:31 EET 2023


On Tue, Feb 28, 2023 at 4:01 AM Anton Khirnov <anton at khirnov.net> wrote:
>
> ---
>  libavcodec/libvpxenc.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
>

lgtm.

> diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c
> index eaa4ad8f25..abaa8c3513 100644
> --- a/libavcodec/libvpxenc.c
> +++ b/libavcodec/libvpxenc.c
> @@ -1284,11 +1284,11 @@ static int storeframe(AVCodecContext *avctx, struct FrameListData *cx_frame,
>          AV_WB64(side_data, 1);
>          memcpy(side_data + 8, alpha_cx_frame->buf, alpha_cx_frame->sz);
>      }
> -        if (ctx->hdr10_plus_fifo) {
> -            int err = copy_hdr10_plus_to_pkt(ctx->hdr10_plus_fifo, pkt);
> -            if (err < 0)
> -                return err;
> -        }
> +    if (ctx->hdr10_plus_fifo) {
> +        int err = copy_hdr10_plus_to_pkt(ctx->hdr10_plus_fifo, pkt);
> +        if (err < 0)
> +            return err;
> +    }
>
>      return pkt->size;
>  }
> --
> 2.39.1
>
> _______________________________________________
> 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