Signed-off-by: Zebediah Figura zfigura@codeweavers.com --- dlls/winegstreamer/h264_decoder.c | 4 ++-- dlls/winegstreamer/wma_decoder.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/winegstreamer/h264_decoder.c b/dlls/winegstreamer/h264_decoder.c index ed990428dec..de823741ba9 100644 --- a/dlls/winegstreamer/h264_decoder.c +++ b/dlls/winegstreamer/h264_decoder.c @@ -596,7 +596,7 @@ static const IMFTransformVtbl transform_vtbl =
HRESULT h264_decoder_create(REFIID riid, void **ret) { - struct wg_format output_format = + static const struct wg_format output_format = { .major_type = WG_MAJOR_TYPE_VIDEO, .u.video = @@ -606,7 +606,7 @@ HRESULT h264_decoder_create(REFIID riid, void **ret) .height = 1080, }, }; - struct wg_format input_format = {.major_type = WG_MAJOR_TYPE_H264}; + static const struct wg_format input_format = {.major_type = WG_MAJOR_TYPE_H264}; struct wg_transform *transform; struct h264_decoder *decoder;
diff --git a/dlls/winegstreamer/wma_decoder.c b/dlls/winegstreamer/wma_decoder.c index fb20ba7a2ce..71369add244 100644 --- a/dlls/winegstreamer/wma_decoder.c +++ b/dlls/winegstreamer/wma_decoder.c @@ -854,7 +854,7 @@ static const IPropertyBagVtbl property_bag_vtbl =
HRESULT wma_decoder_create(IUnknown *outer, IUnknown **out) { - struct wg_format output_format = + static const struct wg_format output_format = { .major_type = WG_MAJOR_TYPE_AUDIO, .u.audio = @@ -865,7 +865,7 @@ HRESULT wma_decoder_create(IUnknown *outer, IUnknown **out) .rate = 44100, }, }; - struct wg_format input_format = {.major_type = WG_MAJOR_TYPE_WMA}; + static const struct wg_format input_format = {.major_type = WG_MAJOR_TYPE_WMA}; struct wg_transform *transform; struct wma_decoder *decoder;