aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-11-23 00:52:56 +0000
committerDiego Biurrun <diego@biurrun.de>2007-11-23 00:52:56 +0000
commitf8a80fd69df1735730f1b3c7f37506ffe0570d0d (patch)
tree595a12a7570060b9c2dc3afea7d48d390279199d /libavcodec
parent541432c3b734a0aa62dea9af2e4fc6dbf65036ff (diff)
downloadffmpeg-f8a80fd69df1735730f1b3c7f37506ffe0570d0d.tar.gz
main() --> main(void)
Originally committed as revision 11079 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/cabac.c2
-rw-r--r--libavcodec/eval.c2
-rw-r--r--libavcodec/h264.c2
-rw-r--r--libavcodec/rangecoder.c2
-rw-r--r--libavcodec/snow.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/cabac.c b/libavcodec/cabac.c
index 7eb60b0ad2..1e0d9e592a 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 b82c7b415f..e6394c39c1 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 a20cf8b252..ffcb2b268c 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 face38fddc..baf4c816cc 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 241d80fa80..1795fde824 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];