OSDN Git Service

Don't include inttypes.h/stdint.h directly, there is an abstraction in
authorSteve L'Homme <slhomme@divxcorp.com>
Tue, 24 Oct 2006 18:57:43 +0000 (18:57 +0000)
committerDiego Biurrun <diego@biurrun.de>
Tue, 24 Oct 2006 18:57:43 +0000 (18:57 +0000)
libavutil/common.h for platforms with no inttypes.h.
patch by Steve Lhomme, slhomme divxcorp com

Originally committed as revision 6790 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/vp5.c
libavcodec/vp56.h
libavcodec/vp56data.c
libavcodec/vp56data.h
libavcodec/vp5data.h
libavcodec/vp6.c
libavcodec/vp6data.h

index 054db0f..ac953c7 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <stdlib.h>
 #include <string.h>
-#include <inttypes.h>
 
 #include "avcodec.h"
 #include "dsputil.h"
index b821974..d6808b1 100644 (file)
@@ -24,8 +24,6 @@
 #ifndef VP56_H
 #define VP56_H
 
-#include <stdint.h>
-
 #include "vp56data.h"
 #include "dsputil.h"
 #include "mpegvideo.h"
index 4a0da8f..e75c6d1 100644 (file)
@@ -21,7 +21,6 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#include <inttypes.h>
 #include "vp56data.h"
 
 const uint8_t vp56_b6to3[] = { 0, 0, 0, 0, 1, 2 };
index f0ba102..dbf92dd 100644 (file)
@@ -24,7 +24,7 @@
 #ifndef VP56DATA_H
 #define VP56DATA_H
 
-#include <inttypes.h>
+#include "common.h"
 
 typedef enum {
     VP56_FRAME_CURRENT  = 0,
index 33f8122..effc17c 100644 (file)
@@ -24,8 +24,6 @@
 #ifndef VP5DATA_H
 #define VP5DATA_H
 
-#include <inttypes.h>
-
 static const uint8_t vp5_coeff_groups[] = {
     -1, 0, 1, 1, 2, 1, 1, 2,
      2, 1, 1, 2, 2, 2, 1, 2,
index 139105d..b7ff004 100644 (file)
@@ -27,7 +27,6 @@
  */
 
 #include <stdlib.h>
-#include <inttypes.h>
 
 #include "avcodec.h"
 #include "dsputil.h"
index 3ebe4f2..5a387cc 100644 (file)
@@ -24,7 +24,6 @@
 #ifndef VP6DATA_H
 #define VP6DATA_H
 
-#include <inttypes.h>
 #include "vp56data.h"
 
 static const uint8_t vp6_def_fdv_vector_model[2][8] = {