]> git.sesse.net Git - vlc/blob - extras/contrib/src/Patches/ffmpeg.patch.cvs
* update ffmpeg patch. no more need for lrintf() and libpostproc header install worka...
[vlc] / extras / contrib / src / Patches / ffmpeg.patch.cvs
1 diff -ru ffmpeg.old/libavcodec/eval.c ffmpeg/libavcodec/eval.c
2 --- ffmpeg.old/libavcodec/eval.c        Thu Mar  6 12:32:01 2003
3 +++ ffmpeg/libavcodec/eval.c    Sun Nov  2 02:04:09 2003
4 @@ -34,6 +34,8 @@
5  #include <string.h>
6  #include <math.h>
7  
8 +/* Meuuh power */
9 +#undef NAN
10  #ifndef NAN
11    #define NAN 0
12  #endif
13 diff -ru ffmpeg.old/libavformat/rtsp.c ffmpeg/libavformat/rtsp.c
14 --- ffmpeg.old/libavformat/rtsp.c       Wed Oct 29 15:25:27 2003
15 +++ ffmpeg/libavformat/rtsp.c   Sun Nov  2 02:04:09 2003
16 @@ -20,6 +20,7 @@
17  
18  #include <unistd.h> /* for select() prototype */
19  #include <sys/time.h>
20 +#include <unistd.h>
21  #include <netinet/in.h>
22  #include <sys/socket.h>
23  #ifndef __BEOS__
24 diff -ru ffmpeg.old/libavformat/tcp.c ffmpeg/libavformat/tcp.c
25 --- ffmpeg.old/libavformat/tcp.c        Mon Sep 29 03:41:30 2003
26 +++ ffmpeg/libavformat/tcp.c    Sun Nov  2 02:04:09 2003
27 @@ -32,6 +32,7 @@
28  #include <netdb.h>
29  #include <sys/time.h>
30  #include <fcntl.h>
31 +#define socklen_t int
32  
33  typedef struct TCPContext {
34      int fd;