1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Fix typo that under certain conditions could cause loss of audio. The

fix has been already incorprated into the vendor's version, so that the
patch will only live till the next release. Vendor's issue #15105.

Bump PORTREVISION.
This commit is contained in:
Maxim Sobolev 2009-05-19 07:15:38 +00:00
parent 10c04370e7
commit 0f560dc920
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=234189
6 changed files with 36 additions and 3 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= asterisk
PORTVERSION= 1.4.24.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \
http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/

View File

@ -0,0 +1,11 @@
--- main/frame.c.orig 2009-05-14 12:43:39.000000000 +0300
+++ main/frame.c 2009-05-14 12:43:54.000000000 +0300
@@ -266,7 +266,7 @@
/* Make sure we have enough data */
if (s->len < s->size) {
/* Or, if this is a G.729 frame with VAD on it, send it immediately anyway */
- if (!((s->flags & AST_SMOOTHER_FLAG_G729) && (s->size % 10)))
+ if (!((s->flags & AST_SMOOTHER_FLAG_G729) && (s->len % 10)))
return NULL;
}
len = s->size;

View File

@ -7,7 +7,7 @@
PORTNAME= asterisk
PORTVERSION= 1.4.24.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \
http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/

View File

@ -0,0 +1,11 @@
--- main/frame.c.orig 2009-05-14 12:43:39.000000000 +0300
+++ main/frame.c 2009-05-14 12:43:54.000000000 +0300
@@ -266,7 +266,7 @@
/* Make sure we have enough data */
if (s->len < s->size) {
/* Or, if this is a G.729 frame with VAD on it, send it immediately anyway */
- if (!((s->flags & AST_SMOOTHER_FLAG_G729) && (s->size % 10)))
+ if (!((s->flags & AST_SMOOTHER_FLAG_G729) && (s->len % 10)))
return NULL;
}
len = s->size;

View File

@ -7,7 +7,7 @@
PORTNAME= asterisk
PORTVERSION= 1.4.24.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \
http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/

View File

@ -0,0 +1,11 @@
--- main/frame.c.orig 2009-05-14 12:43:39.000000000 +0300
+++ main/frame.c 2009-05-14 12:43:54.000000000 +0300
@@ -266,7 +266,7 @@
/* Make sure we have enough data */
if (s->len < s->size) {
/* Or, if this is a G.729 frame with VAD on it, send it immediately anyway */
- if (!((s->flags & AST_SMOOTHER_FLAG_G729) && (s->size % 10)))
+ if (!((s->flags & AST_SMOOTHER_FLAG_G729) && (s->len % 10)))
return NULL;
}
len = s->size;