SHA256
1
0
forked from pool/wine
Marcus Meissner 2024-07-01 11:51:36 +00:00 committed by Git OBS Bridge
parent 58ea70734b
commit 7c6bf8e26e

View File

@ -1,15 +1,15 @@
From 1f44da836f461472ca7ad4e7fb0732f6cdb8d2e7 Mon Sep 17 00:00:00 2001
From 337a3a802a76e442d670d129b7dd9b9b87a199b4 Mon Sep 17 00:00:00 2001
From: Marcus Meissner <marcus@jet.franken.de>
Date: Mon, 1 Jul 2024 13:43:48 +0200
Subject: [PATCH] mf/tests: remove static keyword from actual_width and height
Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
---
dlls/mf/tests/transform.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
dlls/mf/tests/transform.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/dlls/mf/tests/transform.c b/dlls/mf/tests/transform.c
index deec2c7dd92..67fb761c527 100644
index deec2c7dd92..40a06082dcc 100644
--- a/dlls/mf/tests/transform.c
+++ b/dlls/mf/tests/transform.c
@@ -3818,7 +3818,7 @@ static IMFSample *next_h264_sample_(int line, const BYTE **h264_buf, ULONG *h264
@ -66,6 +66,24 @@ index deec2c7dd92..67fb761c527 100644
const struct attribute_desc rgb32_with_aperture[] =
{
ATTR_GUID(MF_MT_MAJOR_TYPE, MFMediaType_Video, .required = TRUE),
@@ -8608,7 +8608,7 @@ static HRESULT get_next_h264_output_sample(IMFTransform *transform, IMFSample **
static void test_h264_with_dxgi_manager(void)
{
- static const unsigned int set_width = 82, set_height = 84, aligned_width = 96, aligned_height = 96;
+ const unsigned int set_width = 82, set_height = 84, aligned_width = 96, aligned_height = 96;
const struct attribute_desc output_sample_attributes[] =
{
ATTR_UINT32(MFSampleExtension_CleanPoint, 1),
@@ -9149,7 +9149,7 @@ static IMFSample *create_d3d_sample(IMFVideoSampleAllocator *allocator, const vo
static void test_video_processor_with_dxgi_manager(void)
{
- static const unsigned int set_width = 82, set_height = 84, aligned_width = 96, aligned_height = 96;
+ const unsigned int set_width = 82, set_height = 84, aligned_width = 96, aligned_height = 96;
const struct attribute_desc output_sample_attributes[] =
{
{0},
--
2.45.2