You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a heap-promoted local struct, sizeof(variable) uses its generated C pointer representation rather than its V value type. This can silently truncate raw struct copies.
Use sizeof(Record) explicitly instead of sizeof(record). This avoids truncated SPS/PPS/slice-header storage in the public antono2/v_vulkan_video player.
V version and Environment
V 0.5.2, upstream commit 0dc6a692ed5333cbe3f05ff63ae0766f0333038a (current master when retested), clean source-built checkout. Ubuntu 24.04 x86-64. Reproduces with strict -new-compiler using both bundled TinyCC and GCC 13.3.0. Released V 0.5.2 (7647ce1) with TinyCC passes.
No imports, native dependencies, or GPU are needed for this reproducer.
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
Activity