diff options
author | rsc <devnull@localhost> | 2006-04-01 19:24:03 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-04-01 19:24:03 +0000 |
commit | cbeb0b26e4c7caa8d1b47de791a7418dc20a4567 (patch) | |
tree | e0f7e445de1aa22a42ef873dc4b1118a8105ae93 /src/cmd/jpg/readyuv.c | |
parent | 226d80b8213821af0cbf092d1507c52b504fd368 (diff) | |
download | plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.tar.gz plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.tar.bz2 plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.zip |
Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.
Diffstat (limited to 'src/cmd/jpg/readyuv.c')
-rw-r--r-- | src/cmd/jpg/readyuv.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/cmd/jpg/readyuv.c b/src/cmd/jpg/readyuv.c index eae2764e..f90bc237 100644 --- a/src/cmd/jpg/readyuv.c +++ b/src/cmd/jpg/readyuv.c @@ -76,19 +76,19 @@ Breadyuv(Biobuf *bp, int colourspace) } switch (sz) { - case 720 * PAL * 2: // 625 x 8bit + case 720 * PAL * 2: /* 625 x 8bit */ bits = 8; lines = PAL; break; - case 720 * NTSC * 2: // 525 x 8bit + case 720 * NTSC * 2: /* 525 x 8bit */ bits = 8; lines = NTSC; break; - case 720 * PAL * 2 + (720 * PAL / 2) : // 625 x 10bit + case 720 * PAL * 2 + (720 * PAL / 2) : /* 625 x 10bit */ bits = 10; lines = PAL; break; - case 720 * NTSC * 2 + (720 * NTSC / 2) : // 525 x 10bit + case 720 * NTSC * 2 + (720 * NTSC / 2) : /* 525 x 10bit */ bits = 10; lines = NTSC; break; @@ -97,8 +97,8 @@ Breadyuv(Biobuf *bp, int colourspace) goto Error; } - // print("bits=%d pixels=%d lines=%d\n", bits, 720, lines); - // + /* print("bits=%d pixels=%d lines=%d\n", bits, 720, lines); */ + /* */ a->nchans = 3; a->chandesc = CRGB; a->chanlen = 720 * lines; |