comparison h264.c @ 6164:ecaf5226e9b0 libavcodec

Consistently use TEST as the preprocessor condition to enable test code.
author diego
date Sun, 20 Jan 2008 23:53:51 +0000
parents a5f184563b8c
children 13aa4cac4dde
comparison
equal deleted inserted replaced
6163:e994af44e0bd 6164:ecaf5226e9b0
7818 h->mb_avail[4]= 1; //FIXME move out 7818 h->mb_avail[4]= 1; //FIXME move out
7819 h->mb_avail[5]= 0; //FIXME move out 7819 h->mb_avail[5]= 0; //FIXME move out
7820 } 7820 }
7821 #endif 7821 #endif
7822 7822
7823 #if 0 //selftest 7823 #ifdef TEST
7824 #undef random 7824 #undef random
7825 #define COUNT 8000 7825 #define COUNT 8000
7826 #define SIZE (COUNT*40) 7826 #define SIZE (COUNT*40)
7827 int main(void){ 7827 int main(void){
7828 int i; 7828 int i;
7990 printf("Testing RBSP\n"); 7990 printf("Testing RBSP\n");
7991 7991
7992 7992
7993 return 0; 7993 return 0;
7994 } 7994 }
7995 #endif 7995 #endif /* TEST */
7996 7996
7997 7997
7998 static int decode_end(AVCodecContext *avctx) 7998 static int decode_end(AVCodecContext *avctx)
7999 { 7999 {
8000 H264Context *h = avctx->priv_data; 8000 H264Context *h = avctx->priv_data;