]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4114 --resolve this bug is actually in libsndfile, if its not fixed in the latest...
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 16 Apr 2012 16:55:52 +0000 (11:55 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 16 Apr 2012 16:55:52 +0000 (11:55 -0500)
libs/libsndfile/.update
libs/libsndfile/src/ima_adpcm.c

index f195187f18d2362fe70ce7ef7929a9fa0cd7aed4..31cb06ca73758f043330f165c7bfff9c9f62f97f 100644 (file)
@@ -1 +1 @@
-Thu May 21 16:11:03 CDT 2009
+Mon Apr 16 11:52:47 CDT 2012
index a9bd6ef5210c295e2655fa2282dbbc33da444b99..e3ab38d752495608e309dcd455eed5c0795d72e9 100644 (file)
@@ -724,7 +724,9 @@ ima_seek (SF_PRIVATE *psf, int mode, sf_count_t offset)
        if (offset == 0)
        {       psf_fseek (psf, psf->dataoffset, SEEK_SET) ;
                pima->blockcount = 0 ;
-               pima->decode_block (psf, pima) ;
+               if (pima->decode_block) {
+                       pima->decode_block (psf, pima) ;
+               }
                pima->samplecount = 0 ;
                return 0 ;
                } ;