]> git.sesse.net Git - vlc/blob - extras/contrib/src/Patches/ffmpeg.patch.cvs
* no more need for unistd.h patch in rtsp.c of ffmpeg either
[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/tcp.c ffmpeg/libavformat/tcp.c
14 --- ffmpeg.old/libavformat/tcp.c        Mon Sep 29 03:41:30 2003
15 +++ ffmpeg/libavformat/tcp.c    Sun Nov  2 02:04:09 2003
16 @@ -32,6 +32,7 @@
17  #include <netdb.h>
18  #include <sys/time.h>
19  #include <fcntl.h>
20 +#define socklen_t int
21  
22  typedef struct TCPContext {
23      int fd;