1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00
freebsd-ports/net/opal/files/patch-src::h263codec.cxx
Volker Stolz 19189c9023 Fix breakage in the presence of ffmpeg
PR:		ports/76931
Patch by:	Jan Stocker
2005-03-08 14:14:10 +00:00

21 lines
472 B
C++

--- 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"
extern "C" {
-#include <avcodec.h>
+#include <ffmpeg/avcodec.h>
};
@@ -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);
}