aboutsummaryrefslogtreecommitdiff
path: root/image
diff options
context:
space:
mode:
Diffstat (limited to 'image')
-rw-r--r--image/codecs/mpeg.h23
1 files changed, 1 insertions, 22 deletions
diff --git a/image/codecs/mpeg.h b/image/codecs/mpeg.h
index 82c3ad19ac..b711b680aa 100644
--- a/image/codecs/mpeg.h
+++ b/image/codecs/mpeg.h
@@ -25,31 +25,10 @@
#ifndef IMAGE_CODECS_MPEG_H
#define IMAGE_CODECS_MPEG_H
+#include "common/inttypes.h"
#include "image/codecs/codec.h"
#include "graphics/pixelformat.h"
-#if defined(__PLAYSTATION2__)
- typedef uint8 uint8_t;
- typedef uint16 uint16_t;
- typedef uint32 uint32_t;
-#elif defined(_WIN32_WCE)
- typedef signed char int8_t;
- typedef signed short int16_t;
- typedef unsigned char uint8_t;
- typedef unsigned short uint16_t;
-#elif defined(_MSC_VER) || defined (__SYMBIAN32__)
- typedef signed char int8_t;
- typedef signed short int16_t;
- typedef unsigned char uint8_t;
- typedef unsigned short uint16_t;
- #if !defined(SDL_COMPILEDVERSION) || (SDL_COMPILEDVERSION < 1210)
- typedef signed long int32_t;
- typedef unsigned long uint32_t;
- #endif
-#else
-# include <inttypes.h>
-#endif
-
extern "C" {
#include <mpeg2dec/mpeg2.h>
}