freebsd-ports/net/openh323/files/patch-include+h263codec.h
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

19 lines
707 B
C++

--- 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);