summaryrefslogtreecommitdiff
path: root/net/opal3/files
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-03-08 14:14:10 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-03-08 14:14:10 +0000
commit19189c90238974eb2bed2c243627b28b0dfae867 (patch)
tree0946e0ba662461adf271bc5d0b096c0e05cc488e /net/opal3/files
parentUpdate to 0.9.2 (diff)
Fix breakage in the presence of ffmpeg
PR: ports/76931 Patch by: Jan Stocker
Notes
Notes: svn path=/head/; revision=130624
Diffstat (limited to 'net/opal3/files')
-rw-r--r--net/opal3/files/patch-include+h263codec.h19
-rw-r--r--net/opal3/files/patch-src+OpenH323.dtf11
-rw-r--r--net/opal3/files/patch-src+OpenH323d.dtf11
-rw-r--r--net/opal3/files/patch-src+OpenH323n.dtf11
-rw-r--r--net/opal3/files/patch-src::h263codec.cxx15
5 files changed, 63 insertions, 4 deletions
diff --git a/net/opal3/files/patch-include+h263codec.h b/net/opal3/files/patch-include+h263codec.h
new file mode 100644
index 000000000000..171efe102701
--- /dev/null
+++ b/net/opal3/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/opal3/files/patch-src+OpenH323.dtf b/net/opal3/files/patch-src+OpenH323.dtf
new file mode 100644
index 000000000000..fe407773f4ef
--- /dev/null
+++ b/net/opal3/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/opal3/files/patch-src+OpenH323d.dtf b/net/opal3/files/patch-src+OpenH323d.dtf
new file mode 100644
index 000000000000..4979aea3f4e1
--- /dev/null
+++ b/net/opal3/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/opal3/files/patch-src+OpenH323n.dtf b/net/opal3/files/patch-src+OpenH323n.dtf
new file mode 100644
index 000000000000..fa2bdab7f14a
--- /dev/null
+++ b/net/opal3/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/opal3/files/patch-src::h263codec.cxx b/net/opal3/files/patch-src::h263codec.cxx
index d8b45f8b078f..dee9c412d539 100644
--- a/net/opal3/files/patch-src::h263codec.cxx
+++ b/net/opal3/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);
+ }