On 6/7/21 7:06 PM, Derek Lesho wrote:
Signed-off-by: Derek Lesho dlesho@codeweavers.com
v2:
- Apply Nikolay's diff in order to remove the need for images to have an associated fourcc.
- Fix buffer overflow. (IMC2 and IMC4's buffer->max_length needed to be expanded as NV12's is).
Thanks, doesn't crash for me now. I checked manually that NV12 length matches IMC2/IMC4 on Windows. We'll probably need a test for that too at some point, not every application is going to deal nicely with wrong length.
I resent as two patches because of this additional change.