Files
wine/0001-mf-tests-Remove-static-specifier-on-variables-refere.patch

37 lines
1.4 KiB
Diff

From c784fb4bad3519b692e71ff4a46b1263af27c0d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20Bernon?= <rbernon@codeweavers.com>
Date: Mon, 8 Jul 2024 14:38:30 +0200
Subject: [PATCH] mf/tests: Remove static specifier on variables referencing
other variables.
Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
---
dlls/mf/tests/transform.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/mf/tests/transform.c b/dlls/mf/tests/transform.c
index 4313d7e3241..ef0bec60ed5 100644
--- a/dlls/mf/tests/transform.c
+++ b/dlls/mf/tests/transform.c
@@ -3857,7 +3857,7 @@ static void test_h264_encoder(void)
ATTR_GUID(MF_MT_MAJOR_TYPE, MFMediaType_Video),
{0},
};
- static const struct attribute_desc expect_available_input_attributes[] =
+ const struct attribute_desc expect_available_input_attributes[] =
{
ATTR_RATIO(MF_MT_FRAME_SIZE, actual_width, actual_height),
ATTR_RATIO(MF_MT_FRAME_RATE, 30000, 1001),
@@ -9244,7 +9244,7 @@ static void test_video_processor_with_dxgi_manager(void)
ATTR_GUID(MF_MT_MAJOR_TYPE, MFMediaType_Video),
};
- static const MFVideoArea aperture = {.Area={set_width, set_height}};
+ const MFVideoArea aperture = {.Area={set_width, set_height}};
const struct attribute_desc nv12_with_aperture[] =
{
ATTR_GUID(MF_MT_MAJOR_TYPE, MFMediaType_Video),
--
2.45.2