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
This commit is contained in:
Steve L'Homme 2006-10-24 18:57:43 +00:00 committed by Diego Biurrun
parent 836096aa7a
commit 33400850cf
7 changed files with 1 additions and 9 deletions

View File

@ -23,7 +23,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <inttypes.h>
#include "avcodec.h" #include "avcodec.h"
#include "dsputil.h" #include "dsputil.h"

View File

@ -24,8 +24,6 @@
#ifndef VP56_H #ifndef VP56_H
#define VP56_H #define VP56_H
#include <stdint.h>
#include "vp56data.h" #include "vp56data.h"
#include "dsputil.h" #include "dsputil.h"
#include "mpegvideo.h" #include "mpegvideo.h"

View File

@ -21,7 +21,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <inttypes.h>
#include "vp56data.h" #include "vp56data.h"
const uint8_t vp56_b6to3[] = { 0, 0, 0, 0, 1, 2 }; const uint8_t vp56_b6to3[] = { 0, 0, 0, 0, 1, 2 };

View File

@ -24,7 +24,7 @@
#ifndef VP56DATA_H #ifndef VP56DATA_H
#define VP56DATA_H #define VP56DATA_H
#include <inttypes.h> #include "common.h"
typedef enum { typedef enum {
VP56_FRAME_CURRENT = 0, VP56_FRAME_CURRENT = 0,

View File

@ -24,8 +24,6 @@
#ifndef VP5DATA_H #ifndef VP5DATA_H
#define VP5DATA_H #define VP5DATA_H
#include <inttypes.h>
static const uint8_t vp5_coeff_groups[] = { static const uint8_t vp5_coeff_groups[] = {
-1, 0, 1, 1, 2, 1, 1, 2, -1, 0, 1, 1, 2, 1, 1, 2,
2, 1, 1, 2, 2, 2, 1, 2, 2, 1, 1, 2, 2, 2, 1, 2,

View File

@ -27,7 +27,6 @@
*/ */
#include <stdlib.h> #include <stdlib.h>
#include <inttypes.h>
#include "avcodec.h" #include "avcodec.h"
#include "dsputil.h" #include "dsputil.h"

View File

@ -24,7 +24,6 @@
#ifndef VP6DATA_H #ifndef VP6DATA_H
#define VP6DATA_H #define VP6DATA_H
#include <inttypes.h>
#include "vp56data.h" #include "vp56data.h"
static const uint8_t vp6_def_fdv_vector_model[2][8] = { static const uint8_t vp6_def_fdv_vector_model[2][8] = {