diff options
author | Diego Biurrun <diego@biurrun.de> | 2007-11-23 00:52:56 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-11-23 00:52:56 +0000 |
commit | f8a80fd69df1735730f1b3c7f37506ffe0570d0d (patch) | |
tree | 595a12a7570060b9c2dc3afea7d48d390279199d | |
parent | 541432c3b734a0aa62dea9af2e4fc6dbf65036ff (diff) | |
download | ffmpeg-streaming-f8a80fd69df1735730f1b3c7f37506ffe0570d0d.zip ffmpeg-streaming-f8a80fd69df1735730f1b3c7f37506ffe0570d0d.tar.gz |
main() --> main(void)
Originally committed as revision 11079 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/cabac.c | 2 | ||||
-rw-r--r-- | libavcodec/eval.c | 2 | ||||
-rw-r--r-- | libavcodec/h264.c | 2 | ||||
-rw-r--r-- | libavcodec/rangecoder.c | 2 | ||||
-rw-r--r-- | libavcodec/snow.c | 2 | ||||
-rw-r--r-- | libavutil/adler32.c | 2 | ||||
-rw-r--r-- | libavutil/aes.c | 2 | ||||
-rw-r--r-- | libavutil/crc.c | 2 | ||||
-rw-r--r-- | libavutil/integer.c | 2 | ||||
-rw-r--r-- | libavutil/lls.c | 2 | ||||
-rw-r--r-- | libavutil/mathematics.c | 2 | ||||
-rw-r--r-- | libavutil/md5.c | 2 | ||||
-rw-r--r-- | libavutil/sha1.c | 2 | ||||
-rw-r--r-- | libavutil/softfloat.c | 2 | ||||
-rw-r--r-- | libavutil/tree.c | 2 |
15 files changed, 15 insertions, 15 deletions
diff --git a/libavcodec/cabac.c b/libavcodec/cabac.c index 7eb60b0..1e0d9e5 100644 --- a/libavcodec/cabac.c +++ b/libavcodec/cabac.c @@ -184,7 +184,7 @@ void ff_init_cabac_states(CABACContext *c){ #include "avcodec.h" -int main(){ +int main(void){ CABACContext c; uint8_t b[9*SIZE]; uint8_t r[9*SIZE]; diff --git a/libavcodec/eval.c b/libavcodec/eval.c index b82c7b4..e6394c3 100644 --- a/libavcodec/eval.c +++ b/libavcodec/eval.c @@ -451,7 +451,7 @@ static const char *const_names[]={ "E", 0 }; -main(){ +main(void){ int i; printf("%f == 12.7\n", ff_eval("1+(5-2)^(3-1)+1/2+sin(PI)-max(-2.2,-3.1)", const_values, const_names, NULL, NULL, NULL, NULL, NULL)); printf("%f == 0.931322575\n", ff_eval("80G/80Gi", const_values, const_names, NULL, NULL, NULL, NULL, NULL)); diff --git a/libavcodec/h264.c b/libavcodec/h264.c index a20cf8b..ffcb2b2 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -7879,7 +7879,7 @@ static inline void fill_mb_avail(H264Context *h){ #undef random #define COUNT 8000 #define SIZE (COUNT*40) -int main(){ +int main(void){ int i; uint8_t temp[SIZE]; PutBitContext pb; diff --git a/libavcodec/rangecoder.c b/libavcodec/rangecoder.c index face38f..baf4c81 100644 --- a/libavcodec/rangecoder.c +++ b/libavcodec/rangecoder.c @@ -111,7 +111,7 @@ int ff_rac_terminate(RangeCoder *c){ #if 0 //selftest #define SIZE 10240 -int main(){ +int main(void){ RangeCoder c; uint8_t b[9*SIZE]; uint8_t r[9*SIZE]; diff --git a/libavcodec/snow.c b/libavcodec/snow.c index 241d80f..1795fde 100644 --- a/libavcodec/snow.c +++ b/libavcodec/snow.c @@ -4755,7 +4755,7 @@ AVCodec snow_encoder = { #undef printf #undef random -int main(){ +int main(void){ int width=256; int height=256; int buffer[2][width*height]; diff --git a/libavutil/adler32.c b/libavutil/adler32.c index 369cdaf..76df120 100644 --- a/libavutil/adler32.c +++ b/libavutil/adler32.c @@ -54,7 +54,7 @@ unsigned long av_adler32_update(unsigned long adler, const uint8_t *buf, unsigne #include "log.h" #define LEN 7001 volatile int checksum; -int main(){ +int main(void){ int i; char data[LEN]; av_log_level = AV_LOG_DEBUG; diff --git a/libavutil/aes.c b/libavutil/aes.c index c538521..c2df3b2 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@ -194,7 +194,7 @@ int av_aes_init(AVAES *a, const uint8_t *key, int key_bits, int decrypt) { #ifdef TEST #include "log.h" -int main(){ +int main(void){ int i,j; AVAES ae, ad, b; uint8_t rkey[2][16]= { diff --git a/libavutil/crc.c b/libavutil/crc.c index 91257d2..12fd909 100644 --- a/libavutil/crc.c +++ b/libavutil/crc.c @@ -107,7 +107,7 @@ uint32_t av_crc(const AVCRC *ctx, uint32_t crc, const uint8_t *buffer, size_t le #ifdef TEST #undef printf -main(){ +main(void){ uint8_t buf[1999]; int i; int p[4][4]={{1, 32, AV_CRC_32_IEEE_LE, 0x3D5CDD04}, diff --git a/libavutil/integer.c b/libavutil/integer.c index d4f5f2b..89e6d50 100644 --- a/libavutil/integer.c +++ b/libavutil/integer.c @@ -171,7 +171,7 @@ const uint8_t ff_log2_tab[256]={ 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7 }; -main(){ +main(void){ int64_t a,b; for(a=7; a<256*256*256; a+=13215){ diff --git a/libavutil/lls.c b/libavutil/lls.c index 1d209f3..c7f1489 100644 --- a/libavutil/lls.c +++ b/libavutil/lls.c @@ -113,7 +113,7 @@ double av_evaluate_lls(LLSModel *m, double *param, int order){ #include <stdlib.h> #include <stdio.h> -int main(){ +int main(void){ LLSModel m; int i, order; diff --git a/libavutil/mathematics.c b/libavutil/mathematics.c index 4be027d..2ea35fc 100644 --- a/libavutil/mathematics.c +++ b/libavutil/mathematics.c @@ -113,7 +113,7 @@ int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq){ #if 0 #include "integer.h" #undef printf -main(){ +main(void){ int64_t a,b,c,d,e; for(a=7; a<(1LL<<62); a+=a/3+1){ diff --git a/libavutil/md5.c b/libavutil/md5.c index 6c23ed6..e31b102 100644 --- a/libavutil/md5.c +++ b/libavutil/md5.c @@ -164,7 +164,7 @@ void av_md5_sum(uint8_t *dst, const uint8_t *src, const int len){ #ifdef TEST #include <stdio.h> #undef printf -main(){ +main(void){ uint64_t md5val; int i; uint8_t in[1000]; diff --git a/libavutil/sha1.c b/libavutil/sha1.c index f7b90a8..13b4acf 100644 --- a/libavutil/sha1.c +++ b/libavutil/sha1.c @@ -149,7 +149,7 @@ void av_sha1_final(AVSHA1* ctx, uint8_t digest[20]){ #include <stdio.h> #undef printf -int main(){ +int main(void){ int i, k; AVSHA1 ctx; unsigned char digest[20]; diff --git a/libavutil/softfloat.c b/libavutil/softfloat.c index f12fd17..a5757c2 100644 --- a/libavutil/softfloat.c +++ b/libavutil/softfloat.c @@ -27,7 +27,7 @@ #undef printf -int main(){ +int main(void){ SoftFloat one= av_int2sf(1, 0); SoftFloat sf1, sf2; double d1, d2; diff --git a/libavutil/tree.c b/libavutil/tree.c index c929e48..f4b9af1 100644 --- a/libavutil/tree.c +++ b/libavutil/tree.c @@ -132,7 +132,7 @@ int cmp(const void *a, const void *b){ return a-b; } -int main(){ +int main(void){ int i,j,k; AVTreeNode *root= NULL; |