mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 20:48:07 +00:00
fix bug and memleak in msvolume.
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@676 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
parent
ea700f8f9a
commit
87c0dcd6bd
3 changed files with 10 additions and 2 deletions
|
|
@ -195,6 +195,10 @@ int linphone_call_failure(LinphoneCore *lc, eXosip_event_t *ev)
|
|||
case 415:
|
||||
lc->vtable.display_status(lc,_("Remote user cannot support any of proposed codecs."));
|
||||
break;
|
||||
case 422:
|
||||
/*ignore: eXosip_automatic_action will do the job of retrying with a greater Session-Expires*/
|
||||
return 0;
|
||||
break;
|
||||
case 480:
|
||||
tmpmsg=msg480;
|
||||
case 486:
|
||||
|
|
|
|||
|
|
@ -88,5 +88,5 @@ version_date.h: $(top_srcdir)/configure.in
|
|||
newdate:
|
||||
rm -f version_date.h
|
||||
|
||||
CLEANFILES=version_date.h
|
||||
CLEANFILES=version_date.h linphone.res
|
||||
|
||||
|
|
|
|||
|
|
@ -92,6 +92,10 @@ static void volume_init(MSFilter *f){
|
|||
|
||||
static void volume_uninit(MSFilter *f){
|
||||
Volume *v=(Volume*)f->data;
|
||||
#ifdef HAVE_SPEEXDSP
|
||||
if (v->speex_pp)
|
||||
speex_preprocess_state_destroy(v->speex_pp);
|
||||
#endif
|
||||
ms_bufferizer_destroy(v->buffer);
|
||||
ms_free(f->data);
|
||||
}
|
||||
|
|
@ -404,7 +408,7 @@ MSFilterDesc ms_volume_desc={
|
|||
1,
|
||||
1,
|
||||
volume_init,
|
||||
NULL,
|
||||
volume_preprocess,
|
||||
volume_process,
|
||||
NULL,
|
||||
volume_uninit,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue