diff options
author | Diego Biurrun <diego@biurrun.de> | 2005-12-22 01:10:11 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2005-12-22 01:10:11 +0000 |
commit | bb270c0896b39e1ae9277355e3c120ed3feb64a3 (patch) | |
tree | fc2fc2b1216d19acb3879abb6ea5a3b400f43fe4 /tests/rotozoom.c | |
parent | 50827fcf44f34521df4708cdb633809b56fb9df3 (diff) | |
download | ffmpeg-bb270c0896b39e1ae9277355e3c120ed3feb64a3.tar.gz |
COSMETICS: tabs --> spaces, some prettyprinting
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/rotozoom.c')
-rw-r--r-- | tests/rotozoom.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/rotozoom.c b/tests/rotozoom.c index 5df5518f14..5549d6ec2c 100644 --- a/tests/rotozoom.c +++ b/tests/rotozoom.c @@ -33,7 +33,7 @@ static int64_t int_sin(int64_t a){ #define SCALEBITS 8 #define ONE_HALF (1 << (SCALEBITS - 1)) -#define FIX(x) ((int) ((x) * (1L<<SCALEBITS) + 0.5)) +#define FIX(x) ((int) ((x) * (1L<<SCALEBITS) + 0.5)) typedef unsigned char UINT8; static void rgb24_to_yuv420p(UINT8 *lum, UINT8 *cb, UINT8 *cr, @@ -241,9 +241,9 @@ void init_demo(const char *filename) { for (i=0;i<H;i++) { fread(line,1,3*W,fichier); for (j=0;j<W;j++) { - tab_r[W*i+j] = line[3*j ]; - tab_g[W*i+j] = line[3*j + 1]; - tab_b[W*i+j] = line[3*j + 2]; + tab_r[W*i+j] = line[3*j ]; + tab_g[W*i+j] = line[3*j + 1]; + tab_b[W*i+j] = line[3*j + 2]; } } fclose(fichier); |