[FFmpeg-devel] [PATCH v5 2/3] libavcodec/libx265: write out user data unregistered SEI

Brad Hards bradh at frogmouth.net
Sun Sep 19 07:00:09 EEST 2021


On Friday, 17 September 2021 9:28:05 PM AEST Ladislav Macoun wrote:
> Fix uninitialized variable introduced in 9dee81a32f
> 
> Signed-off-by: Ladislav Macoun <ladislavmacoun at gmail.com>
> ---
>  libavcodec/libx265.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c
> index 52bf3b26bd..692353daa5 100644
> --- a/libavcodec/libx265.c
> +++ b/libavcodec/libx265.c
> @@ -484,7 +484,7 @@ static int libx265_encode_frame(AVCodecContext *avctx,
> AVPacket *pkt, int nnal;
>      int ret;
>      int i;
> -    int total_unregistered_sei;
> +    int total_unregistered_sei = 0;
> 
>      ctx->api->picture_init(ctx->params, &x265pic);
> 
> --
> 2.30.1 (Apple Git-130)
LGTM, but I can't do anything to get it applied.

Brad





More information about the ffmpeg-devel mailing list