aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder_api.c')
-rw-r--r--src/decoder_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder_api.c b/src/decoder_api.c
index a90fb6370..f20dbf42d 100644
--- a/src/decoder_api.c
+++ b/src/decoder_api.c
@@ -47,7 +47,7 @@ void decoder_initialized(struct decoder * decoder,
{
assert(dc.state == DECODE_STATE_START);
- memset(&decoder->conv_state, 0, sizeof(decoder->conv_state));
+ pcm_convert_init(&decoder->conv_state);
if (audio_format != NULL) {
dc.audioFormat = *audio_format;