Mercurial > libavutil.hg
diff crc.c @ 427:e7192ff1857d libavutil
Fix a couple of 'return type defaults to int' and 'control reaches end of
non-void function' warnings in test code.
author | diego |
---|---|
date | Thu, 10 Jan 2008 10:35:37 +0000 |
parents | 92161c93529d |
children | 12f0072323ce |
line wrap: on
line diff
--- a/crc.c Tue Jan 08 22:54:49 2008 +0000 +++ b/crc.c Thu Jan 10 10:35:37 2008 +0000 @@ -130,7 +130,7 @@ #ifdef TEST #undef printf -main(void){ +int main(void){ uint8_t buf[1999]; int i; int p[4][3]={{AV_CRC_32_IEEE_LE, 0xEDB88320, 0x3D5CDD04}, @@ -146,5 +146,6 @@ ctx = av_crc_get_table(p[i][0]); printf("crc %08X =%X\n", p[i][1], av_crc(ctx, 0, buf, sizeof(buf))); } + return 0; } #endif