changeset 4078:6a10cc9adb8a libavcodec

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
author diego
date Tue, 24 Oct 2006 18:57:43 +0000
parents fc1235327725
children 00a0b18cfb92
files vp5.c vp56.h vp56data.c vp56data.h vp5data.h vp6.c vp6data.h
diffstat 7 files changed, 1 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/vp5.c	Tue Oct 24 10:33:40 2006 +0000
+++ b/vp5.c	Tue Oct 24 18:57:43 2006 +0000
@@ -23,7 +23,6 @@
 
 #include <stdlib.h>
 #include <string.h>
-#include <inttypes.h>
 
 #include "avcodec.h"
 #include "dsputil.h"
--- a/vp56.h	Tue Oct 24 10:33:40 2006 +0000
+++ b/vp56.h	Tue Oct 24 18:57:43 2006 +0000
@@ -24,8 +24,6 @@
 #ifndef VP56_H
 #define VP56_H
 
-#include <stdint.h>
-
 #include "vp56data.h"
 #include "dsputil.h"
 #include "mpegvideo.h"
--- a/vp56data.c	Tue Oct 24 10:33:40 2006 +0000
+++ b/vp56data.c	Tue Oct 24 18:57:43 2006 +0000
@@ -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 };
--- a/vp56data.h	Tue Oct 24 10:33:40 2006 +0000
+++ b/vp56data.h	Tue Oct 24 18:57:43 2006 +0000
@@ -24,7 +24,7 @@
 #ifndef VP56DATA_H
 #define VP56DATA_H
 
-#include <inttypes.h>
+#include "common.h"
 
 typedef enum {
     VP56_FRAME_CURRENT  = 0,
--- a/vp5data.h	Tue Oct 24 10:33:40 2006 +0000
+++ b/vp5data.h	Tue Oct 24 18:57:43 2006 +0000
@@ -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,
--- a/vp6.c	Tue Oct 24 10:33:40 2006 +0000
+++ b/vp6.c	Tue Oct 24 18:57:43 2006 +0000
@@ -27,7 +27,6 @@
  */
 
 #include <stdlib.h>
-#include <inttypes.h>
 
 #include "avcodec.h"
 #include "dsputil.h"
--- a/vp6data.h	Tue Oct 24 10:33:40 2006 +0000
+++ b/vp6data.h	Tue Oct 24 18:57:43 2006 +0000
@@ -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] = {