ao_pcm: fix pointless message due to uninitialize variable

The variable corresponding to the "fast" suboption of ao_pcm was
uninitialized. Fix. The only effect was possibly printing a warning
about the suboption being deprecated even if it wasn't used.
This commit is contained in:
Uoti Urpala 2011-08-11 20:58:05 +03:00
parent 1cb179855e
commit 2a30588258
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ static int init(struct ao *ao, char *params)
struct priv *priv = talloc_zero(ao, struct priv);
ao->priv = priv;
int fast;
int fast = 0;
const opt_t subopts[] = {
{"waveheader", OPT_ARG_BOOL, &priv->waveheader, NULL},
{"file", OPT_ARG_MSTRZ, &priv->outputfilename, NULL},