aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/output_init.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/output_init.c b/src/output_init.c
index 00226f7d8..f6d3799c4 100644
--- a/src/output_init.c
+++ b/src/output_init.c
@@ -89,16 +89,12 @@ int audio_output_init(struct audio_output *ao, ConfigParam * param)
ao->convBuffer = NULL;
ao->convBufferLen = 0;
- memset(&ao->inAudioFormat, 0, sizeof(ao->inAudioFormat));
- memset(&ao->outAudioFormat, 0, sizeof(ao->outAudioFormat));
memset(&ao->convState, 0, sizeof(ConvState));
if (format) {
if (0 != parseAudioConfig(&ao->reqAudioFormat, format)) {
FATAL("error parsing format at line %i\n", bp->line);
}
-
- ao->outAudioFormat = ao->reqAudioFormat;
} else
audio_format_clear(&ao->reqAudioFormat);