summaryrefslogtreecommitdiffstats
path: root/audio/audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/audio.c')
-rw-r--r--audio/audio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/audio.c b/audio/audio.c
index 5c31d3e81a..008aa1883b 100644
--- a/audio/audio.c
+++ b/audio/audio.c
@@ -420,6 +420,7 @@ struct mp_audio *mp_audio_from_aframe(struct mp_aframe *aframe)
void mp_audio_config_from_aframe(struct mp_audio *dst, struct mp_aframe *src)
{
+ *dst = (struct mp_audio){0};
struct mp_chmap chmap = {0};
mp_aframe_get_chmap(src, &chmap);
mp_audio_set_channels(dst, &chmap);