aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve L'Homme <slhomme@divxcorp.com>2006-10-24 18:57:43 +0000
committerDiego Biurrun <diego@biurrun.de>2006-10-24 18:57:43 +0000
commit33400850cf915fd87c087a5f0641f4c2d04d54df (patch)
tree978a792adc5a5f10b55b0eeb3e68ae109693213a
parent836096aa7a2acb1bba591519b822351955c03a41 (diff)
downloadffmpeg-33400850cf915fd87c087a5f0641f4c2d04d54df.tar.gz
Don't include inttypes.h/stdint.h directly, there is an abstraction in
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
-rw-r--r--libavcodec/vp5.c1
-rw-r--r--libavcodec/vp56.h2
-rw-r--r--libavcodec/vp56data.c1
-rw-r--r--libavcodec/vp56data.h2
-rw-r--r--libavcodec/vp5data.h2
-rw-r--r--libavcodec/vp6.c1
-rw-r--r--libavcodec/vp6data.h1
7 files changed, 1 insertions, 9 deletions
diff --git a/libavcodec/vp5.c b/libavcodec/vp5.c
index 054db0fb02..ac953c7aa3 100644
--- a/libavcodec/vp5.c
+++ b/libavcodec/vp5.c
@@ -23,7 +23,6 @@
#include <stdlib.h>
#include <string.h>
-#include <inttypes.h>
#include "avcodec.h"
#include "dsputil.h"
diff --git a/libavcodec/vp56.h b/libavcodec/vp56.h
index b82197452b..d6808b1e54 100644
--- a/libavcodec/vp56.h
+++ b/libavcodec/vp56.h
@@ -24,8 +24,6 @@
#ifndef VP56_H
#define VP56_H
-#include <stdint.h>
-
#include "vp56data.h"
#include "dsputil.h"
#include "mpegvideo.h"
diff --git a/libavcodec/vp56data.c b/libavcodec/vp56data.c
index 4a0da8feec..e75c6d1cec 100644
--- a/libavcodec/vp56data.c
+++ b/libavcodec/vp56data.c
@@ -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 };
diff --git a/libavcodec/vp56data.h b/libavcodec/vp56data.h
index f0ba102ee1..dbf92dd68e 100644
--- a/libavcodec/vp56data.h
+++ b/libavcodec/vp56data.h
@@ -24,7 +24,7 @@
#ifndef VP56DATA_H
#define VP56DATA_H
-#include <inttypes.h>
+#include "common.h"
typedef enum {
VP56_FRAME_CURRENT = 0,
diff --git a/libavcodec/vp5data.h b/libavcodec/vp5data.h
index 33f81227d3..effc17c2ca 100644
--- a/libavcodec/vp5data.h
+++ b/libavcodec/vp5data.h
@@ -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,
diff --git a/libavcodec/vp6.c b/libavcodec/vp6.c
index 139105de19..b7ff004cc5 100644
--- a/libavcodec/vp6.c
+++ b/libavcodec/vp6.c
@@ -27,7 +27,6 @@
*/
#include <stdlib.h>
-#include <inttypes.h>
#include "avcodec.h"
#include "dsputil.h"
diff --git a/libavcodec/vp6data.h b/libavcodec/vp6data.h
index 3ebe4f2738..5a387cc756 100644
--- a/libavcodec/vp6data.h
+++ b/libavcodec/vp6data.h
@@ -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] = {