Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
f8a80fd6
Commit
f8a80fd6
authored
Nov 23, 2007
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main() --> main(void)
Originally committed as revision 11079 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
541432c3
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
15 additions
and
15 deletions
+15
-15
cabac.c
libavcodec/cabac.c
+1
-1
eval.c
libavcodec/eval.c
+1
-1
h264.c
libavcodec/h264.c
+1
-1
rangecoder.c
libavcodec/rangecoder.c
+1
-1
snow.c
libavcodec/snow.c
+1
-1
adler32.c
libavutil/adler32.c
+1
-1
aes.c
libavutil/aes.c
+1
-1
crc.c
libavutil/crc.c
+1
-1
integer.c
libavutil/integer.c
+1
-1
lls.c
libavutil/lls.c
+1
-1
mathematics.c
libavutil/mathematics.c
+1
-1
md5.c
libavutil/md5.c
+1
-1
sha1.c
libavutil/sha1.c
+1
-1
softfloat.c
libavutil/softfloat.c
+1
-1
tree.c
libavutil/tree.c
+1
-1
No files found.
libavcodec/cabac.c
View file @
f8a80fd6
...
@@ -184,7 +184,7 @@ void ff_init_cabac_states(CABACContext *c){
...
@@ -184,7 +184,7 @@ void ff_init_cabac_states(CABACContext *c){
#include "avcodec.h"
#include "avcodec.h"
int main(){
int main(
void
){
CABACContext c;
CABACContext c;
uint8_t b[9*SIZE];
uint8_t b[9*SIZE];
uint8_t r[9*SIZE];
uint8_t r[9*SIZE];
...
...
libavcodec/eval.c
View file @
f8a80fd6
...
@@ -451,7 +451,7 @@ static const char *const_names[]={
...
@@ -451,7 +451,7 @@ static const char *const_names[]={
"E"
,
"E"
,
0
0
};
};
main
(){
main
(
void
){
int
i
;
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 == 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
));
printf
(
"%f == 0.931322575
\n
"
,
ff_eval
(
"80G/80Gi"
,
const_values
,
const_names
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
));
...
...
libavcodec/h264.c
View file @
f8a80fd6
...
@@ -7879,7 +7879,7 @@ static inline void fill_mb_avail(H264Context *h){
...
@@ -7879,7 +7879,7 @@ static inline void fill_mb_avail(H264Context *h){
#undef random
#undef random
#define COUNT 8000
#define COUNT 8000
#define SIZE (COUNT*40)
#define SIZE (COUNT*40)
int main(){
int main(
void
){
int i;
int i;
uint8_t temp[SIZE];
uint8_t temp[SIZE];
PutBitContext pb;
PutBitContext pb;
...
...
libavcodec/rangecoder.c
View file @
f8a80fd6
...
@@ -111,7 +111,7 @@ int ff_rac_terminate(RangeCoder *c){
...
@@ -111,7 +111,7 @@ int ff_rac_terminate(RangeCoder *c){
#if 0 //selftest
#if 0 //selftest
#define SIZE 10240
#define SIZE 10240
int main(){
int main(
void
){
RangeCoder c;
RangeCoder c;
uint8_t b[9*SIZE];
uint8_t b[9*SIZE];
uint8_t r[9*SIZE];
uint8_t r[9*SIZE];
...
...
libavcodec/snow.c
View file @
f8a80fd6
...
@@ -4755,7 +4755,7 @@ AVCodec snow_encoder = {
...
@@ -4755,7 +4755,7 @@ AVCodec snow_encoder = {
#undef printf
#undef printf
#undef random
#undef random
int main(){
int main(
void
){
int width=256;
int width=256;
int height=256;
int height=256;
int buffer[2][width*height];
int buffer[2][width*height];
...
...
libavutil/adler32.c
View file @
f8a80fd6
...
@@ -54,7 +54,7 @@ unsigned long av_adler32_update(unsigned long adler, const uint8_t *buf, unsigne
...
@@ -54,7 +54,7 @@ unsigned long av_adler32_update(unsigned long adler, const uint8_t *buf, unsigne
#include "log.h"
#include "log.h"
#define LEN 7001
#define LEN 7001
volatile
int
checksum
;
volatile
int
checksum
;
int
main
(){
int
main
(
void
){
int
i
;
int
i
;
char
data
[
LEN
];
char
data
[
LEN
];
av_log_level
=
AV_LOG_DEBUG
;
av_log_level
=
AV_LOG_DEBUG
;
...
...
libavutil/aes.c
View file @
f8a80fd6
...
@@ -194,7 +194,7 @@ int av_aes_init(AVAES *a, const uint8_t *key, int key_bits, int decrypt) {
...
@@ -194,7 +194,7 @@ int av_aes_init(AVAES *a, const uint8_t *key, int key_bits, int decrypt) {
#ifdef TEST
#ifdef TEST
#include "log.h"
#include "log.h"
int
main
(){
int
main
(
void
){
int
i
,
j
;
int
i
,
j
;
AVAES
ae
,
ad
,
b
;
AVAES
ae
,
ad
,
b
;
uint8_t
rkey
[
2
][
16
]
=
{
uint8_t
rkey
[
2
][
16
]
=
{
...
...
libavutil/crc.c
View file @
f8a80fd6
...
@@ -107,7 +107,7 @@ uint32_t av_crc(const AVCRC *ctx, uint32_t crc, const uint8_t *buffer, size_t le
...
@@ -107,7 +107,7 @@ uint32_t av_crc(const AVCRC *ctx, uint32_t crc, const uint8_t *buffer, size_t le
#ifdef TEST
#ifdef TEST
#undef printf
#undef printf
main
(){
main
(
void
){
uint8_t
buf
[
1999
];
uint8_t
buf
[
1999
];
int
i
;
int
i
;
int
p
[
4
][
4
]
=
{{
1
,
32
,
AV_CRC_32_IEEE_LE
,
0x3D5CDD04
},
int
p
[
4
][
4
]
=
{{
1
,
32
,
AV_CRC_32_IEEE_LE
,
0x3D5CDD04
},
...
...
libavutil/integer.c
View file @
f8a80fd6
...
@@ -171,7 +171,7 @@ const uint8_t ff_log2_tab[256]={
...
@@ -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
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;
int64_t a,b;
for(a=7; a<256*256*256; a+=13215){
for(a=7; a<256*256*256; a+=13215){
...
...
libavutil/lls.c
View file @
f8a80fd6
...
@@ -113,7 +113,7 @@ double av_evaluate_lls(LLSModel *m, double *param, int order){
...
@@ -113,7 +113,7 @@ double av_evaluate_lls(LLSModel *m, double *param, int order){
#include <stdlib.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdio.h>
int
main
(){
int
main
(
void
){
LLSModel
m
;
LLSModel
m
;
int
i
,
order
;
int
i
,
order
;
...
...
libavutil/mathematics.c
View file @
f8a80fd6
...
@@ -113,7 +113,7 @@ int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq){
...
@@ -113,7 +113,7 @@ int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq){
#if 0
#if 0
#include "integer.h"
#include "integer.h"
#undef printf
#undef printf
main(){
main(
void
){
int64_t a,b,c,d,e;
int64_t a,b,c,d,e;
for(a=7; a<(1LL<<62); a+=a/3+1){
for(a=7; a<(1LL<<62); a+=a/3+1){
...
...
libavutil/md5.c
View file @
f8a80fd6
...
@@ -164,7 +164,7 @@ void av_md5_sum(uint8_t *dst, const uint8_t *src, const int len){
...
@@ -164,7 +164,7 @@ void av_md5_sum(uint8_t *dst, const uint8_t *src, const int len){
#ifdef TEST
#ifdef TEST
#include <stdio.h>
#include <stdio.h>
#undef printf
#undef printf
main
(){
main
(
void
){
uint64_t
md5val
;
uint64_t
md5val
;
int
i
;
int
i
;
uint8_t
in
[
1000
];
uint8_t
in
[
1000
];
...
...
libavutil/sha1.c
View file @
f8a80fd6
...
@@ -149,7 +149,7 @@ void av_sha1_final(AVSHA1* ctx, uint8_t digest[20]){
...
@@ -149,7 +149,7 @@ void av_sha1_final(AVSHA1* ctx, uint8_t digest[20]){
#include <stdio.h>
#include <stdio.h>
#undef printf
#undef printf
int
main
(){
int
main
(
void
){
int
i
,
k
;
int
i
,
k
;
AVSHA1
ctx
;
AVSHA1
ctx
;
unsigned
char
digest
[
20
];
unsigned
char
digest
[
20
];
...
...
libavutil/softfloat.c
View file @
f8a80fd6
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
#undef printf
#undef printf
int
main
(){
int
main
(
void
){
SoftFloat
one
=
av_int2sf
(
1
,
0
);
SoftFloat
one
=
av_int2sf
(
1
,
0
);
SoftFloat
sf1
,
sf2
;
SoftFloat
sf1
,
sf2
;
double
d1
,
d2
;
double
d1
,
d2
;
...
...
libavutil/tree.c
View file @
f8a80fd6
...
@@ -132,7 +132,7 @@ int cmp(const void *a, const void *b){
...
@@ -132,7 +132,7 @@ int cmp(const void *a, const void *b){
return
a
-
b
;
return
a
-
b
;
}
}
int
main
(){
int
main
(
void
){
int
i
,
j
,
k
;
int
i
,
j
,
k
;
AVTreeNode
*
root
=
NULL
;
AVTreeNode
*
root
=
NULL
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment