Mercurial > mplayer.hg
changeset 36760:6ec928ab8112
ao_esd: remove condition that must always be true.
It caused warnings about potentially uninitialized variables.
author | reimar |
---|---|
date | Sun, 16 Feb 2014 15:44:32 +0000 |
parents | 8f3dc4467047 |
children | 726678f7ce60 |
files | libao2/ao_esd.c |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libao2/ao_esd.c Sun Feb 16 15:44:31 2014 +0000 +++ b/libao2/ao_esd.c Sun Feb 16 15:44:32 2014 +0000 @@ -165,7 +165,6 @@ float lag_seconds, lag_net, lag_serv; struct timeval proto_start, proto_end; - if (esd_fd < 0) { esd_fd = esd_open_sound(server); if (esd_fd < 0) { mp_msg(MSGT_AO, MSGL_ERR, MSGTR_AO_ESD_CantOpenSound, @@ -190,7 +189,6 @@ esd_print_server_info(esd_svinfo); } */ - } esd_fmt = ESD_STREAM | ESD_PLAY;