[Ffmpeg-cvslog] r6790 - in trunk/libavcodec: vp5.c vp56.h vp56data.c vp56data.h vp5data.h vp6.c vp6data.h

diego subversion
Tue Oct 24 20:57:44 CEST 2006


Author: diego
Date: Tue Oct 24 20:57:43 2006
New Revision: 6790

Modified:
   trunk/libavcodec/vp5.c
   trunk/libavcodec/vp56.h
   trunk/libavcodec/vp56data.c
   trunk/libavcodec/vp56data.h
   trunk/libavcodec/vp5data.h
   trunk/libavcodec/vp6.c
   trunk/libavcodec/vp6data.h

Log:
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


Modified: trunk/libavcodec/vp5.c
==============================================================================
--- trunk/libavcodec/vp5.c	(original)
+++ trunk/libavcodec/vp5.c	Tue Oct 24 20:57:43 2006
@@ -23,7 +23,6 @@
 
 #include <stdlib.h>
 #include <string.h>
-#include <inttypes.h>
 
 #include "avcodec.h"
 #include "dsputil.h"

Modified: trunk/libavcodec/vp56.h
==============================================================================
--- trunk/libavcodec/vp56.h	(original)
+++ trunk/libavcodec/vp56.h	Tue Oct 24 20:57:43 2006
@@ -24,8 +24,6 @@
 #ifndef VP56_H
 #define VP56_H
 
-#include <stdint.h>
-
 #include "vp56data.h"
 #include "dsputil.h"
 #include "mpegvideo.h"

Modified: trunk/libavcodec/vp56data.c
==============================================================================
--- trunk/libavcodec/vp56data.c	(original)
+++ trunk/libavcodec/vp56data.c	Tue Oct 24 20:57:43 2006
@@ -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 };

Modified: trunk/libavcodec/vp56data.h
==============================================================================
--- trunk/libavcodec/vp56data.h	(original)
+++ trunk/libavcodec/vp56data.h	Tue Oct 24 20:57:43 2006
@@ -24,7 +24,7 @@
 #ifndef VP56DATA_H
 #define VP56DATA_H
 
-#include <inttypes.h>
+#include "common.h"
 
 typedef enum {
     VP56_FRAME_CURRENT  = 0,

Modified: trunk/libavcodec/vp5data.h
==============================================================================
--- trunk/libavcodec/vp5data.h	(original)
+++ trunk/libavcodec/vp5data.h	Tue Oct 24 20:57:43 2006
@@ -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,

Modified: trunk/libavcodec/vp6.c
==============================================================================
--- trunk/libavcodec/vp6.c	(original)
+++ trunk/libavcodec/vp6.c	Tue Oct 24 20:57:43 2006
@@ -27,7 +27,6 @@
  */
 
 #include <stdlib.h>
-#include <inttypes.h>
 
 #include "avcodec.h"
 #include "dsputil.h"

Modified: trunk/libavcodec/vp6data.h
==============================================================================
--- trunk/libavcodec/vp6data.h	(original)
+++ trunk/libavcodec/vp6data.h	Tue Oct 24 20:57:43 2006
@@ -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] = {




More information about the ffmpeg-cvslog mailing list