This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new 67c9eaccfe ffv1_vulkan: use a 32-bit multiply when decoding remap runs
67c9eaccfe is described below
commit 67c9eaccfe87043e7798b65df78c447264674286
Author: Lynne <[email protected]>
AuthorDate: Sat Oct 3 16:53:27 2026 +0900
Commit: Lynne <[email protected]>
CommitDate: Sat Oct 3 16:53:45 2026 +0900
ffv1_vulkan: use a 32-bit multiply when decoding remap runs
The product of the run length and the current multiplier fits in 32
bits for any valid stream, so avoid the 64-bit multiplication.
Also, the encoder uses 32-bit bits for this step.
---
libavcodec/vulkan/ffv1_dec_setup.comp.glsl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/vulkan/ffv1_dec_setup.comp.glsl
b/libavcodec/vulkan/ffv1_dec_setup.comp.glsl
index ba9fc3fb05..5b38197f3f 100644
--- a/libavcodec/vulkan/ffv1_dec_setup.comp.glsl
+++ b/libavcodec/vulkan/ffv1_dec_setup.comp.glsl
@@ -123,7 +123,7 @@ bool decode_remap(uint slice_idx, inout SliceContext sc)
uint run0 = lu != 0 ? 0u : run;
uint run1 = lu != 0 ? run : 1u;
- i += int64_t(run0) * int64_t(current_mul);
+ i += int64_t(run0 * uint(current_mul));
while (run1 > 0u) {
run1--;
--
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]