[FFmpeg-cvslog] r13073 - trunk/tests/videogen.c
diego
subversion
Wed May 7 10:41:34 CEST 2008
Author: diego
Date: Wed May 7 10:41:34 2008
New Revision: 13073
Log:
#include stdint.h instead of using a manual typedef for uint8_t.
Modified:
trunk/tests/videogen.c
Modified: trunk/tests/videogen.c
==============================================================================
--- trunk/tests/videogen.c (original)
+++ trunk/tests/videogen.c Wed May 7 10:41:34 2008
@@ -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)
More information about the ffmpeg-cvslog
mailing list