[FFmpeg-cvslog] vulkan_ffv1: init overread/corrupt fields
Lynne
git at videolan.org
Mon Apr 14 07:16:12 EEST 2025
ffmpeg | branch: master | Lynne <dev at lynne.ee> | Sat Apr 5 00:58:21 2025 +0000| [45d7abf6d9eb004411e1088f3fe4699744c7025b] | committer: Lynne
vulkan_ffv1: init overread/corrupt fields
Forgotten.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=45d7abf6d9eb004411e1088f3fe4699744c7025b
---
libavcodec/vulkan/rangecoder.comp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/vulkan/rangecoder.comp b/libavcodec/vulkan/rangecoder.comp
index ba8a6cfd9d..e332bce8a5 100644
--- a/libavcodec/vulkan/rangecoder.comp
+++ b/libavcodec/vulkan/rangecoder.comp
@@ -193,8 +193,8 @@ void rac_init(out RangeCoder r, u8buf data, uint buf_size)
}
/* Decoder */
-uint overread;
-bool corrupt;
+uint overread = 0;
+bool corrupt = false;
void rac_init_dec(out RangeCoder r, u8buf data, uint buf_size)
{
More information about the ffmpeg-cvslog
mailing list