changeset 7669:0b3b1cbebd99

reset channels too
author arpi
date Tue, 08 Oct 2002 22:55:55 +0000
parents 76bd62c375e8
children d388a7ee48c5
files libmpcodecs/dec_audio.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/dec_audio.c	Tue Oct 08 22:41:45 2002 +0000
+++ b/libmpcodecs/dec_audio.c	Tue Oct 08 22:55:55 2002 +0000
@@ -64,6 +64,7 @@
   sh_audio->sample_format=AFMT_S16_LE;
 #endif
   sh_audio->samplerate=0;
+  sh_audio->channels=0;
   sh_audio->i_bps=0;  // input rate (bytes/sec)
   sh_audio->o_bps=0;  // output rate (bytes/sec)