diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-03-07 21:50:45 +0100 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-04-20 04:22:53 +0300 |
commit | 52743acba37451121d0820150694d13e2f660774 (patch) | |
tree | f9d924293f242bd969df4e19f3e5f56fc689d8e4 /libao2 | |
parent | b17a1cf70c2666c0f8ea020c37350b178c62fc1a (diff) | |
download | mpv-52743acba37451121d0820150694d13e2f660774.tar.bz2 mpv-52743acba37451121d0820150694d13e2f660774.tar.xz |
cleanup: avoid various GCC warnings
Diffstat (limited to 'libao2')
-rw-r--r-- | libao2/ao_esd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libao2/ao_esd.c b/libao2/ao_esd.c index 1097d4dfa6..d5423991bd 100644 --- a/libao2/ao_esd.c +++ b/libao2/ao_esd.c @@ -161,7 +161,7 @@ static int init(int rate_hz, int channels, int format, int flags) int bytes_per_sample; int fl; char *server = ao_subdevice; /* NULL for localhost */ - float lag_seconds, lag_net, lag_serv; + float lag_seconds, lag_net = 0., lag_serv; struct timeval proto_start, proto_end; if (esd_fd < 0) { |