summaryrefslogtreecommitdiffstats
path: root/net/openh323-112
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-03-08 14:14:10 +0000
committervs <vs@FreeBSD.org>2005-03-08 14:14:10 +0000
commite088657546e53497be52d67ed231aea600fb1eec (patch)
tree949612c4dfcc919c200174abc7ec4c28615b48c1 /net/openh323-112
parenta714a1536cebdcaf4cadc4712832c6e710b2e731 (diff)
downloadFreeBSD-ports-e088657546e53497be52d67ed231aea600fb1eec.zip
FreeBSD-ports-e088657546e53497be52d67ed231aea600fb1eec.tar.gz
Fix breakage in the presence of ffmpeg
PR: ports/76931 Patch by: Jan Stocker
Diffstat (limited to 'net/openh323-112')
-rw-r--r--net/openh323-112/files/patch-include+h263codec.h19
-rw-r--r--net/openh323-112/files/patch-src+OpenH323.dtf11
-rw-r--r--net/openh323-112/files/patch-src+OpenH323d.dtf11
-rw-r--r--net/openh323-112/files/patch-src+OpenH323n.dtf11
-rw-r--r--net/openh323-112/files/patch-src::h263codec.cxx15
5 files changed, 63 insertions, 4 deletions
diff --git a/net/openh323-112/files/patch-include+h263codec.h b/net/openh323-112/files/patch-include+h263codec.h
new file mode 100644
index 0000000..171efe1
--- /dev/null
+++ b/net/openh323-112/files/patch-include+h263codec.h
@@ -0,0 +1,19 @@
+--- include/h263codec.h.orig Sat Feb 19 11:29:15 2005
++++ include/h263codec.h Sat Feb 19 11:38:52 2005
+@@ -92,6 +92,7 @@
+ struct AVCodec;
+ struct AVCodecContext;
+ struct AVFrame;
++struct AVCodecParserContext;
+
+ ///////////////////////////////////////////////////////////////////////////////
+
+@@ -478,7 +479,7 @@
+ send. Note that for every encode thread, this 1 method is called. Consequently,
+ code is required to separate out packets from different encode threads.
+ */
+- static void RtpCallback(void *data, int size, int packetNumber);
++ static void RtpCallback(AVCodecContext *s, void *data, int size, int packetNumber);
+
+ protected:
+ BOOL Resize(int width, int height);
diff --git a/net/openh323-112/files/patch-src+OpenH323.dtf b/net/openh323-112/files/patch-src+OpenH323.dtf
new file mode 100644
index 0000000..fe40777
--- /dev/null
+++ b/net/openh323-112/files/patch-src+OpenH323.dtf
@@ -0,0 +1,11 @@
+--- src/OpenH323.dtf.orig Sat Feb 19 11:23:59 2005
++++ src/OpenH323.dtf Sat Feb 19 11:25:00 2005
+@@ -23073,7 +23073,7 @@
+ ?RingLine@OpalLineInterfaceDevice@@UAEHIK@Z @12182 NONAME ;public: virtual int __thiscall OpalLineInterfaceDevice::RingLine(unsigned int,unsigned long)
+ ?RingLine@OpalVoipBlasterDevice@@UAEHIK@Z @20048 NONAME ;public: virtual int __thiscall OpalVoipBlasterDevice::RingLine(unsigned int,unsigned long)
+ ?ROWZAG@@3QBEB @12183 NONAME ;unsigned char const * const ROWZAG
+- ?RtpCallback@H323_H263Codec@@SAXPAXHH@Z @26507 NONAME ;public: static void __cdecl H323_H263Codec::RtpCallback(void *,int,int)
++ ?RtpCallback@H323_H263Codec@@SAXPAXHH@Z @26507 NONAME ;public: static void __cdecl H323_H263Codec::RtpCallback(AVCodecContext *,void *,int,int)
+ ?saveblks@Pre_Vid_Coder@@IAEXPAE@Z @12184 NONAME ;protected: void __thiscall Pre_Vid_Coder::saveblks(unsigned char *)
+ ?SelectDefaultLogicalChannel@H323Connection@@UAEXI@Z @12185 NONAME ;public: virtual void __thiscall H323Connection::SelectDefaultLogicalChannel(unsigned int)
+ ?SelectFastStartChannels@H323Connection@@UAEXIHH@Z @12791 NONAME ;public: virtual void __thiscall H323Connection::SelectFastStartChannels(unsigned int,int,int)
diff --git a/net/openh323-112/files/patch-src+OpenH323d.dtf b/net/openh323-112/files/patch-src+OpenH323d.dtf
new file mode 100644
index 0000000..4979aea
--- /dev/null
+++ b/net/openh323-112/files/patch-src+OpenH323d.dtf
@@ -0,0 +1,11 @@
+--- src/OpenH323d.dtf.orig Sat Feb 19 11:25:40 2005
++++ src/OpenH323d.dtf Sat Feb 19 11:26:27 2005
+@@ -29709,7 +29709,7 @@
+ ?RingLine@OpalLineInterfaceDevice@@UAEHIK@Z @16774 NONAME ;public: virtual int __thiscall OpalLineInterfaceDevice::RingLine(unsigned int,unsigned long)
+ ?RingLine@OpalVoipBlasterDevice@@UAEHIK@Z @29808 NONAME ;public: virtual int __thiscall OpalVoipBlasterDevice::RingLine(unsigned int,unsigned long)
+ ?ROWZAG@@3QBEB @16775 NONAME ;unsigned char const * const ROWZAG
+- ?RtpCallback@H323_H263Codec@@SAXPAXHH@Z @38109 NONAME ;public: static void __cdecl H323_H263Codec::RtpCallback(void *,int,int)
++ ?RtpCallback@H323_H263Codec@@SAXPAXHH@Z @38109 NONAME ;public: static void __cdecl H323_H263Codec::RtpCallback(AVCodecContext *,void *,int,int)
+ ?SameSize@Encoder@@IAEHPBVVideoFrame@@@Z @16776 NONAME ;protected: int __thiscall Encoder::SameSize(class VideoFrame const *)
+ ?save@Pre_Vid_Coder@@IAEXPAE0H@Z @16777 NONAME ;protected: void __thiscall Pre_Vid_Coder::save(unsigned char *,unsigned char *,int)
+ ?saveblks@Pre_Vid_Coder@@IAEXPAE@Z @16778 NONAME ;protected: void __thiscall Pre_Vid_Coder::saveblks(unsigned char *)
diff --git a/net/openh323-112/files/patch-src+OpenH323n.dtf b/net/openh323-112/files/patch-src+OpenH323n.dtf
new file mode 100644
index 0000000..fa2bdab
--- /dev/null
+++ b/net/openh323-112/files/patch-src+OpenH323n.dtf
@@ -0,0 +1,11 @@
+--- src/OpenH323n.dtf.orig Sat Feb 19 11:25:47 2005
++++ src/OpenH323n.dtf Sat Feb 19 11:26:53 2005
+@@ -15904,7 +15904,7 @@
+ ?RingLine@OpalLineInterfaceDevice@@UAEHIK@Z @8723 NONAME ;public: virtual int __thiscall OpalLineInterfaceDevice::RingLine(unsigned int,unsigned long)
+ ?RingLine@OpalVoipBlasterDevice@@UAEHIK@Z @13722 NONAME ;public: virtual int __thiscall OpalVoipBlasterDevice::RingLine(unsigned int,unsigned long)
+ ?ROWZAG@@3QBEB @8724 NONAME ;unsigned char const * const ROWZAG
+- ?RtpCallback@H323_H263Codec@@SAXPAXHH@Z @18805 NONAME ;public: static void __cdecl H323_H263Codec::RtpCallback(void *,int,int)
++ ?RtpCallback@H323_H263Codec@@SAXPAXHH@Z @18805 NONAME ;public: static void __cdecl H323_H263Codec::RtpCallback(AVCodecContext *,void *,int,int)
+ ?saveblks@Pre_Vid_Coder@@IAEXPAE@Z @8725 NONAME ;protected: void __thiscall Pre_Vid_Coder::saveblks(unsigned char *)
+ ?SelectDefaultLogicalChannel@H323Connection@@UAEXI@Z @8726 NONAME ;public: virtual void __thiscall H323Connection::SelectDefaultLogicalChannel(unsigned int)
+ ?SelectFastStartChannels@H323Connection@@UAEXIHH@Z @9303 NONAME ;public: virtual void __thiscall H323Connection::SelectFastStartChannels(unsigned int,int,int)
diff --git a/net/openh323-112/files/patch-src::h263codec.cxx b/net/openh323-112/files/patch-src::h263codec.cxx
index d8b45f8..dee9c41 100644
--- a/net/openh323-112/files/patch-src::h263codec.cxx
+++ b/net/openh323-112/files/patch-src::h263codec.cxx
@@ -1,7 +1,5 @@
-Index: src/h263codec.cxx
-diff -u src/h263codec.cxx.orig src/h263codec.cxx
---- src/h263codec.cxx.orig Fri Jun 6 15:32:08 2003
-+++ src/h263codec.cxx Sat Nov 22 23:17:45 2003
+--- src/h263codec.cxx.orig Fri Jun 6 08:32:08 2003
++++ src/h263codec.cxx Sat Feb 19 11:19:36 2005
@@ -109,7 +109,7 @@
#include "rtp.h"
@@ -11,3 +9,12 @@ diff -u src/h263codec.cxx.orig src/h263codec.cxx
};
+@@ -836,7 +836,7 @@
+ }
+
+
+-void H323_H263Codec::RtpCallback(void *data, int size, int /*packetNumber*/)
++void H323_H263Codec::RtpCallback(AVCodecContext* /*s*/, void *data, int size, int /*packetNumber*/)
+ {
+ encodedPackets.AppendH263Packet(data, size);
+ }
OpenPOWER on IntegriCloud