[PATCH v2] mfplat: Copy all image planes in buffer copies.

Nikolay Sivov nsivov at codeweavers.com
Mon Jun 7 11:43:35 CDT 2021



On 6/7/21 7:06 PM, Derek Lesho wrote:
> Signed-off-by: Derek Lesho <dlesho at 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.



More information about the wine-devel mailing list