[PATCH 2/5] mf/tests: Simplify static media type definition.
Rémi Bernon
rbernon at codeweavers.com
Fri Jan 21 06:54:48 CST 2022
On 1/21/22 13:31, Giovanni Mascellani wrote:
> Hi,
>
> Il 20/01/22 11:41, Rémi Bernon ha scritto:
>> + init_media_type(input_type, test->input_type, -1);
>> + init_media_type(output_type, test->output_type, -1);
>
> It seems that init_media_type() is always called with -1. Does it make
> sense to keep that count argument?
>
> Giovanni.
>
Yes, it's going to be useful later where I want to partially initialize
media types to check the attributes that are required by the transform.
I could add the argument later, but it didn't seem to hurt.
--
Rémi Bernon <rbernon at codeweavers.com>
More information about the wine-devel
mailing list