Mercurial > mplayer.hg
changeset 37094:09c3f76bc780
Remove unnecessary variable.
author | ib |
---|---|
date | Wed, 07 May 2014 14:14:49 +0000 |
parents | cdb4677ef147 |
children | 6cce7a87e800 |
files | gui/interface.c gui/win32/interface.c |
diffstat | 2 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/interface.c Wed May 07 14:09:10 2014 +0000 +++ b/gui/interface.c Wed May 07 14:14:49 2014 +0000 @@ -405,7 +405,6 @@ int idata = (intptr_t)data, msg, state; stream_t *stream = NULL; sh_audio_t *sh_audio; - const ad_functions_t *ad; mixer_t *mixer; float l, r, b; plItem *next = NULL; @@ -812,8 +811,7 @@ if (sh_audio) { guiInfo.AudioChannels = sh_audio->channels; - ad = sh_audio->ad_driver; - guiInfo.AudioPassthrough = (gstrcmp(ad->info->short_name, "hwac3") == 0); + guiInfo.AudioPassthrough = (gstrcmp(sh_audio->ad_driver->info->short_name, "hwac3") == 0); } else { guiInfo.AudioChannels = 0; guiInfo.AudioPassthrough = False;
--- a/gui/win32/interface.c Wed May 07 14:09:10 2014 +0000 +++ b/gui/win32/interface.c Wed May 07 14:14:49 2014 +0000 @@ -562,7 +562,6 @@ int idata = (intptr_t) data; stream_t *stream; sh_audio_t *sh_audio; - const ad_functions_t *ad; #ifdef CONFIG_DVDREAD dvd_priv_t *dvdp; #endif @@ -628,8 +627,7 @@ if (sh_audio) { guiInfo.AudioChannels = sh_audio->channels; - ad = sh_audio->ad_driver; - guiInfo.AudioPassthrough = (gstrcmp(ad->info->short_name, "hwac3") == 0); + guiInfo.AudioPassthrough = (gstrcmp(sh_audio->ad_driver->info->short_name, "hwac3") == 0); } else {