Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* Re: [FFmpeg-devel] [PATCH] vulkan_encode_h264/5: Fix uninitialized return value in write_extra_headers
       [not found] <20241114213818.114718-2-nowrep@gmail.com>
@ 2025-07-28 15:13 ` David Rosca
  0 siblings, 0 replies; only message in thread
From: David Rosca @ 2025-07-28 15:13 UTC (permalink / raw)
  To: ffmpeg-devel

On Thu, Nov 14, 2024 at 10:39 PM David Rosca <nowrep@gmail.com> wrote:
>
> ---
>  libavcodec/vulkan_encode_h264.c | 1 +
>  libavcodec/vulkan_encode_h265.c | 1 +
>  2 files changed, 2 insertions(+)
>
> diff --git a/libavcodec/vulkan_encode_h264.c b/libavcodec/vulkan_encode_h264.c
> index cdc87fb4ca..fdd3cc8a55 100644
> --- a/libavcodec/vulkan_encode_h264.c
> +++ b/libavcodec/vulkan_encode_h264.c
> @@ -1311,6 +1311,7 @@ static int write_extra_headers(AVCodecContext *avctx,
>          if (err < 0)
>              goto fail;
>      } else {
> +        err = 0;
>          *data_len = 0;
>      }
>
> diff --git a/libavcodec/vulkan_encode_h265.c b/libavcodec/vulkan_encode_h265.c
> index cd50f2f756..8c25cacded 100644
> --- a/libavcodec/vulkan_encode_h265.c
> +++ b/libavcodec/vulkan_encode_h265.c
> @@ -1471,6 +1471,7 @@ static int write_extra_headers(AVCodecContext *avctx,
>          if (err < 0)
>              goto fail;
>      } else {
> +        err = 0;
>          *data_len = 0;
>      }
>
> --
> 2.47.0
>

Ping, this causes random fails in release builds.

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

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-07-28 15:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20241114213818.114718-2-nowrep@gmail.com>
2025-07-28 15:13 ` [FFmpeg-devel] [PATCH] vulkan_encode_h264/5: Fix uninitialized return value in write_extra_headers David Rosca

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git