mirror of
https://github.com/mpv-player/mpv
synced 2025-02-16 20:27:23 +00:00
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:
parent
1cb179855e
commit
2a30588258
@ -127,7 +127,7 @@ static int init(struct ao *ao, char *params)
|
|||||||
struct priv *priv = talloc_zero(ao, struct priv);
|
struct priv *priv = talloc_zero(ao, struct priv);
|
||||||
ao->priv = priv;
|
ao->priv = priv;
|
||||||
|
|
||||||
int fast;
|
int fast = 0;
|
||||||
const opt_t subopts[] = {
|
const opt_t subopts[] = {
|
||||||
{"waveheader", OPT_ARG_BOOL, &priv->waveheader, NULL},
|
{"waveheader", OPT_ARG_BOOL, &priv->waveheader, NULL},
|
||||||
{"file", OPT_ARG_MSTRZ, &priv->outputfilename, NULL},
|
{"file", OPT_ARG_MSTRZ, &priv->outputfilename, NULL},
|
||||||
|
Loading…
Reference in New Issue
Block a user