Commit 2cfcdc64 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

winegstreamer: Make some wg_format variables static const.

parent a4201aa6
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment