comparison h264.c @ 4164:171e768324cd libavcodec

Remove the H264Context parameter from decode_init_vlc() as it is not being used.
author takis
date Thu, 09 Nov 2006 16:40:33 +0000
parents a1786732cd62
children 23da44e8fd05
comparison
equal deleted inserted replaced
4163:1e8621844040 4164:171e768324cd
3147 } 3147 }
3148 3148
3149 prefetch_motion(h, 1); 3149 prefetch_motion(h, 1);
3150 } 3150 }
3151 3151
3152 static void decode_init_vlc(H264Context *h){ 3152 static void decode_init_vlc(){
3153 static int done = 0; 3153 static int done = 0;
3154 3154
3155 if (!done) { 3155 if (!done) {
3156 int i; 3156 int i;
3157 done = 1; 3157 done = 1;
3404 // set defaults 3404 // set defaults
3405 // s->decode_mb= ff_h263_decode_mb; 3405 // s->decode_mb= ff_h263_decode_mb;
3406 s->low_delay= 1; 3406 s->low_delay= 1;
3407 avctx->pix_fmt= PIX_FMT_YUV420P; 3407 avctx->pix_fmt= PIX_FMT_YUV420P;
3408 3408
3409 decode_init_vlc(h); 3409 decode_init_vlc();
3410 3410
3411 if(avctx->extradata_size > 0 && avctx->extradata && 3411 if(avctx->extradata_size > 0 && avctx->extradata &&
3412 *(char *)avctx->extradata == 1){ 3412 *(char *)avctx->extradata == 1){
3413 h->is_avc = 1; 3413 h->is_avc = 1;
3414 h->got_avcC = 0; 3414 h->got_avcC = 0;