On Friday, 17 September 2021 9:28:05 PM AEST Ladislav Macoun wrote:
> Fix uninitialized variable introduced in 9dee81a32f
> 
> Signed-off-by: Ladislav Macoun <ladislavmac...@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



_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to