aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-05-07 08:41:34 +0000
committerDiego Biurrun <diego@biurrun.de>2008-05-07 08:41:34 +0000
commite680989d7b224bbf449892b230cb6682e2761838 (patch)
tree80f35c8dd8dba7a18dfef18bfe5c65418343ad78
parent2f05d9c1ee639bc2a81f5724cc54a20e1053f982 (diff)
downloadffmpeg-e680989d7b224bbf449892b230cb6682e2761838.tar.gz
#include stdint.h instead of using a manual typedef for uint8_t.
Originally committed as revision 13073 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--tests/videogen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/videogen.c b/tests/videogen.c
index 226c4dd4f0..abae577bca 100644
--- a/tests/videogen.c
+++ b/tests/videogen.c
@@ -22,12 +22,12 @@
*/
#include <stdlib.h>
+#include <stdint.h>
#include <stdio.h>
#define SCALEBITS 8
#define ONE_HALF (1 << (SCALEBITS - 1))
#define FIX(x) ((int) ((x) * (1L<<SCALEBITS) + 0.5))
-typedef unsigned char uint8_t;
static void rgb24_to_yuv420p(uint8_t *lum, uint8_t *cb, uint8_t *cr,
uint8_t *src, int width, int height)