[FFmpeg-cvslog] r16748 - in trunk/libavutil: mathematics.c mem.c mem.h rational.c
diego
subversion
Sat Jan 24 15:55:30 CET 2009
Author: diego
Date: Sat Jan 24 15:55:30 2009
New Revision: 16748
Log:
Directly #include a bunch of indirectly #included headers.
Modified:
trunk/libavutil/mathematics.c
trunk/libavutil/mem.c
trunk/libavutil/mem.h
trunk/libavutil/rational.c
Modified: trunk/libavutil/mathematics.c
==============================================================================
--- trunk/libavutil/mathematics.c Sat Jan 24 15:52:46 2009 (r16747)
+++ trunk/libavutil/mathematics.c Sat Jan 24 15:55:30 2009 (r16748)
@@ -23,6 +23,7 @@
* Miscellaneous math routines and tables.
*/
+#include <assert.h>
#include "common.h"
#include "mathematics.h"
Modified: trunk/libavutil/mem.c
==============================================================================
--- trunk/libavutil/mem.c Sat Jan 24 15:52:46 2009 (r16747)
+++ trunk/libavutil/mem.c Sat Jan 24 15:55:30 2009 (r16748)
@@ -24,6 +24,7 @@
* default memory allocator for libavutil.
*/
+#include "config.h"
#include "common.h"
/* here we can use OS dependent allocation functions */
@@ -31,7 +32,9 @@
#undef free
#undef realloc
+#include <limits.h>
#include <stdlib.h>
+#include <string.h>
#if HAVE_MALLOC_H
#include <malloc.h>
#endif
Modified: trunk/libavutil/mem.h
==============================================================================
--- trunk/libavutil/mem.h Sat Jan 24 15:52:46 2009 (r16747)
+++ trunk/libavutil/mem.h Sat Jan 24 15:55:30 2009 (r16748)
@@ -26,6 +26,7 @@
#ifndef AVUTIL_MEM_H
#define AVUTIL_MEM_H
+#include "config.h"
#include "common.h"
#if defined(__ICC) || defined(__SUNPRO_C)
Modified: trunk/libavutil/rational.c
==============================================================================
--- trunk/libavutil/rational.c Sat Jan 24 15:52:46 2009 (r16747)
+++ trunk/libavutil/rational.c Sat Jan 24 15:55:30 2009 (r16748)
@@ -25,6 +25,7 @@
* @author Michael Niedermayer <michaelni at gmx.at>
*/
+#include <assert.h>
//#include <math.h>
#include <limits.h>
More information about the ffmpeg-cvslog
mailing list