[Mplayer-cvslog] CVS: main/libmpeg2 decode.c,1.18,1.19

pl pl at mplayer.dev.hu
Fri Nov 9 03:17:04 CET 2001


Update of /cvsroot/mplayer/main/libmpeg2
In directory mplayer:/var/tmp.root/cvs-serv25376/libmpeg2

Modified Files:
	decode.c 
Log Message:
added missing #include <malloc.h>
#include "config.h" moved as 1st #include since it defines HAVE_foo_h for 
  later conditional inclusions


Index: decode.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpeg2/decode.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- decode.c	5 Nov 2001 18:12:27 -0000	1.18
+++ decode.c	9 Nov 2001 02:17:01 -0000	1.19
@@ -5,7 +5,12 @@
 #define PACKAGE "mpeg2dec"
 #define VERSION "0.2.0-release"
 
+#include "config.h"
+
 #include <stdio.h>
+#ifdef HAVE_MALLOC_H
+#include <malloc.h>
+#endif
 #include <stdlib.h>
 #include <unistd.h>
 #include <fcntl.h>
@@ -15,7 +20,6 @@
 #include <setjmp.h>
 
 
-#include "config.h"
 
 #include "video_out.h"
 #include <inttypes.h>




More information about the MPlayer-cvslog mailing list