Commit 81a08166 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

alsa: fix potentially uninitialized value

parent 5043b4c8
......@@ -330,7 +330,7 @@ static int Start (audio_output_t *aout, audio_sample_format_t *restrict fmt)
char sep = '\0';
if (spdif)
{
const char *opt;
const char *opt = NULL;
if (!strcmp (device, "default"))
device = "iec958"; /* TODO: hdmi */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment