> I would say this is a bug in func_speex and not in codec_siren14. This
> is because the datalen is zero. 

Ah!  So, like?

*** func_speex.c.orig   2017-02-13 15:00:19.000000000 -0500
--- func_speex.c        2017-04-06 11:16:03.000000000 -0400
***************
*** 185,189 ****
        }
  
!       speex_preprocess(sdi->state, frame->data.ptr, NULL);
        snprintf(source, sizeof(source), "%s/speex", frame->src);
        if (frame->mallocd & AST_MALLOCD_SRC) {
--- 185,190 ----
        }
  
!       if (frame->data.ptr && frame->datalen)
!         speex_preprocess(sdi->state, frame->data.ptr, NULL);
        snprintf(source, sizeof(source), "%s/speex", frame->src);
        if (frame->mallocd & AST_MALLOCD_SRC) {


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to