Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH] vulkan_encode_av1: Fix uninitialized return value in write_extra_headers (PR #20172)
@ 2025-08-08 11:02 nowrep
  0 siblings, 0 replies; only message in thread
From: nowrep @ 2025-08-08 11:02 UTC (permalink / raw)
  To: ffmpeg-devel

PR #20172 opened by nowrep
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20172
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20172.patch

@Lynne


From 6f3d3315b0d035ed0e1b176d5e1ca96b9de59040 Mon Sep 17 00:00:00 2001
From: David Rosca <nowrep@gmail.com>
Date: Fri, 8 Aug 2025 13:00:20 +0200
Subject: [PATCH] vulkan_encode_av1: Fix uninitialized return value in
 write_extra_headers

---
 libavcodec/vulkan_encode_av1.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/vulkan_encode_av1.c b/libavcodec/vulkan_encode_av1.c
index 83a8734c93..ed5546b965 100644
--- a/libavcodec/vulkan_encode_av1.c
+++ b/libavcodec/vulkan_encode_av1.c
@@ -1108,6 +1108,7 @@ static int write_extra_headers(AVCodecContext *avctx,
         if (err < 0)
             goto fail;
     } else {
+        err = 0;
         *data_len = 0;
     }
 
-- 
2.49.1

_______________________________________________
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-08-08 11:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-08 11:02 [FFmpeg-devel] [PATCH] vulkan_encode_av1: Fix uninitialized return value in write_extra_headers (PR #20172) nowrep

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