asterisk/asterisk.patch.parseavp

Fri, 15 Oct 2010 19:06:09 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 15 Oct 2010 19:06:09 +0200
changeset 263
f4a0b439d0fb
permissions
-rw-r--r--

Correct shared library and plugin link logic, as well as informal text.
Update file server URL, update build resource estimations, correct RPATH
logic, allow for qmake(1) static to shared library changes via CONFIG
argument, correct documentation broken title and index links, correct
shared library install path, install only one set of (correct) plugins,
install the designer shared library (as required by QtCreator), announce
features related to shared linking using qmake(1), and correclty
substitute hard coded paths in prl and la library files.

michael@202 1 Index: channels/chan_sip.c
michael@202 2 diff -Nau channels/chan_sip.c.orig channels/chan_sip.c
michael@202 3 --- channels/chan_sip.c.orig 2009-04-24 00:54:30.000000000 +0200
michael@202 4 +++ channels/chan_sip.c 2009-04-24 00:56:15.000000000 +0200
michael@202 5 @@ -5214,8 +5214,10 @@
michael@202 6
michael@202 7 numberofports = 1;
michael@202 8 len = -1;
michael@202 9 - if ((sscanf(m, "audio %d/%d RTP/AVP %n", &x, &numberofports, &len) == 2 && len > 0) ||
michael@202 10 - (sscanf(m, "audio %d RTP/AVP %n", &x, &len) == 1 && len > 0)) {
michael@202 11 + if (((sscanf(m, "audio %d/%d RTP/AVP %n", &x, &numberofports, &len) == 2) && (len > 0)) ||
michael@202 12 + ((sscanf(m, "audio %d/%d RTP/SAVP %n", &x, &numberofports, &len) == 2) && (len > 0)) ||
michael@202 13 + ((sscanf(m, "audio %d RTP/AVP %n", &x, &len) == 1) && (len > 0)) ||
michael@202 14 + ((sscanf(m, "audio %d RTP/SAVP %n", &x, &len) == 1) && (len > 0))) {
michael@202 15 audio = TRUE;
michael@202 16 numberofmediastreams++;
michael@202 17 /* Found audio stream in this media definition */

mercurial