Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #273434

Category ffmpeg
Changed by Michael Niedermayer <michaelohnoyoudont@niedermayer.cc>
Changed at Wed 01 Jul 2026 03:48:33
Repository https://git.ffmpeg.org/ffmpeg.git
Project ffmpeg
Branch master
Revision d5a2ab9c08980b74dce93f55da9d95a7eefef11d

Comments

checkasm/sw_rgb: fix too small source stride in uyvytoyuv422 test
The planes table stored a source stride smaller than the 2*width bytes a
packed UYVY line occupies (e.g. width 12 with stride 12), and the correct
stride for width 128 would be 256, which does not even fit the uint8_t
field. The test passed only because the oversized source buffer absorbed
the resulting out-of-bounds reads.

Derive srcStride from the width (2*width) instead of storing it, so each
line is passed its true size.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

Changed files