This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Consistently use TEST as the preprocessor condition to enable test code.
Originally committed as revision 11581 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Diego Biurrun
17 years ago
parent
1ace441909
commit
07e4e3ea8b
4 changed files
with
8 additions
and
8 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
libavcodec/cabac.c
+2
-2
libavcodec/h264.c
+2
-2
libavcodec/rangecoder.c
+2
-2
libavcodec/snow.c
+ 2
- 2
libavcodec/cabac.c
View File
@@ -178,7 +178,7 @@ void ff_init_cabac_states(CABACContext *c){
}
}
#if
0 //selftest
#if
def TEST
#undef random
#define SIZE 10240
@@ -262,4 +262,4 @@ STOP_TIMER("get_cabac_ueg")
return 0;
}
#endif
#endif
/* TEST */
+ 2
- 2
libavcodec/h264.c
View File
@@ -7820,7 +7820,7 @@ static inline void fill_mb_avail(H264Context *h){
}
#endif
#if
0 //selftest
#if
def TEST
#undef random
#define COUNT 8000
#define SIZE (COUNT*40)
@@ -7992,7 +7992,7 @@ int main(void){
return 0;
}
#endif
#endif
/* TEST */
static int decode_end(AVCodecContext *avctx)
+ 2
- 2
libavcodec/rangecoder.c
View File
@@ -109,7 +109,7 @@ int ff_rac_terminate(RangeCoder *c){
return c->bytestream - c->bytestream_start;
}
#if
0 //selftest
#if
def TEST
#define SIZE 10240
int main(void){
RangeCoder c;
@@ -148,4 +148,4 @@ STOP_TIMER("get_rac")
return 0;
}
#endif
#endif
/* TEST */
+ 2
- 2
libavcodec/snow.c
View File
@@ -4775,7 +4775,7 @@ AVCodec snow_encoder = {
#endif
#if
0
#if
def TEST
#undef malloc
#undef free
#undef printf
@@ -4924,4 +4924,4 @@ int64_t g=0;
}
return 0;
}
#endif /*
0
*/
#endif /*
TEST
*/
Write
Preview
Loading…
Cancel
Save