Mercurial > mplayer.hg
changeset 36951:bd4f00c044a9
Remove unnecessary variable in Win32 GUI.
Use guiInfo.sh_video instead.
author | ib |
---|---|
date | Sun, 23 Mar 2014 12:10:30 +0000 |
parents | 277be9e37ada |
children | 60361776b592 |
files | gui/win32/interface.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/win32/interface.c Sun Mar 23 12:05:32 2014 +0000 +++ b/gui/win32/interface.c Sun Mar 23 12:10:30 2014 +0000 @@ -634,8 +634,7 @@ guiInfo.sh_video = data; if (guiInfo.sh_video) { - sh_video_t *sh = data; - codecname = sh->codec->name; + codecname = guiInfo.sh_video->codec->name; /* we have video, show the video window */ if(!IsWindowVisible(mygui->videowindow) || IsIconic(mygui->videowindow))