From: Steve L'Homme Date: Tue, 24 Oct 2006 18:57:43 +0000 (+0000) Subject: Don't include inttypes.h/stdint.h directly, there is an abstraction in X-Git-Tag: v0.5~11297 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=33400850cf915fd87c087a5f0641f4c2d04d54df;p=platform%2Fupstream%2Flibav.git 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 --- diff --git a/libavcodec/vp5.c b/libavcodec/vp5.c index 054db0f..ac953c7 100644 --- a/libavcodec/vp5.c +++ b/libavcodec/vp5.c @@ -23,7 +23,6 @@ #include #include -#include #include "avcodec.h" #include "dsputil.h" diff --git a/libavcodec/vp56.h b/libavcodec/vp56.h index b821974..d6808b1 100644 --- a/libavcodec/vp56.h +++ b/libavcodec/vp56.h @@ -24,8 +24,6 @@ #ifndef VP56_H #define VP56_H -#include - #include "vp56data.h" #include "dsputil.h" #include "mpegvideo.h" diff --git a/libavcodec/vp56data.c b/libavcodec/vp56data.c index 4a0da8f..e75c6d1 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 #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 f0ba102..dbf92dd 100644 --- a/libavcodec/vp56data.h +++ b/libavcodec/vp56data.h @@ -24,7 +24,7 @@ #ifndef VP56DATA_H #define VP56DATA_H -#include +#include "common.h" typedef enum { VP56_FRAME_CURRENT = 0, diff --git a/libavcodec/vp5data.h b/libavcodec/vp5data.h index 33f8122..effc17c 100644 --- a/libavcodec/vp5data.h +++ b/libavcodec/vp5data.h @@ -24,8 +24,6 @@ #ifndef VP5DATA_H #define VP5DATA_H -#include - 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 139105d..b7ff004 100644 --- a/libavcodec/vp6.c +++ b/libavcodec/vp6.c @@ -27,7 +27,6 @@ */ #include -#include #include "avcodec.h" #include "dsputil.h" diff --git a/libavcodec/vp6data.h b/libavcodec/vp6data.h index 3ebe4f2..5a387cc 100644 --- a/libavcodec/vp6data.h +++ b/libavcodec/vp6data.h @@ -24,7 +24,6 @@ #ifndef VP6DATA_H #define VP6DATA_H -#include #include "vp56data.h" static const uint8_t vp6_def_fdv_vector_model[2][8] = {