Skip to content

FFV1 decoder: fix for very small frames - #504

Merged
JeromeMartinez merged 1 commit into
MediaArea:mainfrom
JeromeMartinez:SliceCountChecks
Oct 27, 2026
Merged

JeromeMartinez merged 1 commit into
MediaArea:mainfrom
JeromeMartinez:SliceCountChecks

Conversation

@JeromeMartinez

Copy link
Copy Markdown
Member

num_h_slices may be the frame width and num_v_slices the frame height, they were rejected. slice_y was checked against num_h_slices instead of num_v_slices.

Same as FFmpeg: num_h_slices may be the frame width and num_v_slices the
frame height (e.g. FFmpeg Vulkan encoder default with frames smaller
than 32 pixels: 32x32 slices limited to the frame size), they were
rejected. slice_y was checked against num_h_slices instead of
num_v_slices (rejection of valid frames with more vertical than
horizontal slices).
@JeromeMartinez
JeromeMartinez merged commit 2024574 into MediaArea:main Oct 27, 2026
3 checks passed
@JeromeMartinez
JeromeMartinez deleted the SliceCountChecks branch October 27, 2026 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant