aboutsummaryrefslogtreecommitdiffstats
path: root/net/asterisk10/files
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2009-05-19 15:15:38 +0800
committersobomax <sobomax@FreeBSD.org>2009-05-19 15:15:38 +0800
commitb0f2b2a242b5f53d5244352f9f26d172983f24a3 (patch)
treeb6ab6e987923ebc76530f26cb51c4e7f48164cf7 /net/asterisk10/files
parentd9ae8bda0bb502eca5b361f02c3a7ad2e6bb1696 (diff)
downloadfreebsd-ports-gnome-b0f2b2a242b5f53d5244352f9f26d172983f24a3.tar.gz
freebsd-ports-gnome-b0f2b2a242b5f53d5244352f9f26d172983f24a3.tar.zst
freebsd-ports-gnome-b0f2b2a242b5f53d5244352f9f26d172983f24a3.zip
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.
Diffstat (limited to 'net/asterisk10/files')
-rw-r--r--net/asterisk10/files/patch-vad_g72911
1 files changed, 11 insertions, 0 deletions
diff --git a/net/asterisk10/files/patch-vad_g729 b/net/asterisk10/files/patch-vad_g729
new file mode 100644
index 000000000000..adee9d1e2491
--- /dev/null
+++ b/net/asterisk10/files/patch-vad_g729
@@ -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;