Module: sems
Branch: master
Commit: 5e486e38016caa552beeb6946eed6be648554bd7
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=5e486e38016caa552beeb6946eed6be648554bd7

Author: Stefan Sayer <[email protected]>
Committer: Stefan Sayer <[email protected]>
Date:   Sun Feb 23 01:09:55 2014 +0100

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

---

 core/AmAudioFile.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/core/AmAudioFile.cpp b/core/AmAudioFile.cpp
index e0e2476..6f7c9f3 100644
--- a/core/AmAudioFile.cpp
+++ b/core/AmAudioFile.cpp
@@ -299,7 +299,8 @@ void AmAudioFile::on_close()
       amci_file_desc_t fmt_desc = { f_fmt->getSubtypeId(), 
                                    (int)f_fmt->getRate(),
                                    f_fmt->channels, 
-                                   data_size };
+                                   data_size ,
+                                   0, 0, 0};
            
       if(!iofmt){
        ERROR("file format pointer not initialized: on_close will not be 
called\n");

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to