Mercurial > mplayer.hg
changeset 36948:a5537f70df8e
Change assignment of stream in Win32 GUI.
Adjust the code to the X11/GTK GUI.
author | ib |
---|---|
date | Sun, 23 Mar 2014 11:52:09 +0000 |
parents | 382af432ec40 |
children | 6593a01b08c2 |
files | gui/win32/interface.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/win32/interface.c Sat Mar 22 22:39:55 2014 +0000 +++ b/gui/win32/interface.c Sun Mar 23 11:52:09 2014 +0000 @@ -559,7 +559,7 @@ int gui(int what, void *data) { int idata = (intptr_t) data; - stream_t *stream = data; + stream_t *stream; #ifdef CONFIG_DVDREAD dvd_priv_t *dvdp; #endif @@ -658,6 +658,7 @@ } case GUI_SET_STREAM: { + stream = data; guiInfo.StreamType = stream->type; switch(stream->type) {