Signed-off-by: Zebediah Figura zfigura@codeweavers.com --- dlls/winegstreamer/main.c | 2 +- dlls/winegstreamer/unixlib.h | 2 +- dlls/winegstreamer/wg_parser.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/winegstreamer/main.c b/dlls/winegstreamer/main.c index ae186e967c4..b989b980ebb 100644 --- a/dlls/winegstreamer/main.c +++ b/dlls/winegstreamer/main.c @@ -191,7 +191,7 @@ void wg_parser_stream_enable(wg_parser_stream_t stream, const struct wg_format * struct wg_parser_stream_enable_params params = { .stream = stream, - .format = format, + .format = *format, };
__wine_unix_call(unix_handle, unix_wg_parser_stream_enable, ¶ms); diff --git a/dlls/winegstreamer/unixlib.h b/dlls/winegstreamer/unixlib.h index 4547ece2337..fc3bd857b18 100644 --- a/dlls/winegstreamer/unixlib.h +++ b/dlls/winegstreamer/unixlib.h @@ -199,7 +199,7 @@ struct wg_parser_stream_get_preferred_format_params struct wg_parser_stream_enable_params { wg_parser_stream_t stream; - const struct wg_format *format; + struct wg_format format; };
struct wg_parser_stream_disable_params diff --git a/dlls/winegstreamer/wg_parser.c b/dlls/winegstreamer/wg_parser.c index 1d287c76da2..7e93b6e1275 100644 --- a/dlls/winegstreamer/wg_parser.c +++ b/dlls/winegstreamer/wg_parser.c @@ -633,7 +633,7 @@ static NTSTATUS wg_parser_stream_enable(void *args) { const struct wg_parser_stream_enable_params *params = args; struct wg_parser_stream *stream = get_wg_parser_stream(params->stream); - const struct wg_format *format = params->format; + const struct wg_format *format = ¶ms->format;
stream->current_format = *format; stream->enabled = true;