Browse code

c/f: initializing buffer members of fmt_desc for closing files

Stefan Sayer authored on 23/02/2014 00:09:55
Showing 1 changed files
... ...
@@ -299,7 +299,8 @@ void AmAudioFile::on_close()
299 299
       amci_file_desc_t fmt_desc = { f_fmt->getSubtypeId(), 
300 300
 				    (int)f_fmt->getRate(),
301 301
 				    f_fmt->channels, 
302
-				    data_size };
302
+				    data_size ,
303
+				    0, 0, 0};
303 304
 	    
304 305
       if(!iofmt){
305 306
 	ERROR("file format pointer not initialized: on_close will not be called\n");