comparison zmbvenc.c @ 9553:4cab394c16ea libavcodec

Remove useless assignment during initialization for some decoders
author kostya
date Fri, 24 Apr 2009 14:09:24 +0000
parents e9d9d946f213
children 5680832edb83
comparison
equal deleted inserted replaced
9552:4fd9ac9978e5 9553:4cab394c16ea
249 for(i=1; i<256; i++) 249 for(i=1; i<256; i++)
250 score_tab[i]= -i * log(i/(double)(ZMBV_BLOCK*ZMBV_BLOCK)) * (256/M_LN2); 250 score_tab[i]= -i * log(i/(double)(ZMBV_BLOCK*ZMBV_BLOCK)) * (256/M_LN2);
251 251
252 c->avctx = avctx; 252 c->avctx = avctx;
253 253
254 c->pic.data[0] = NULL;
255 c->curfrm = 0; 254 c->curfrm = 0;
256 c->keyint = avctx->keyint_min; 255 c->keyint = avctx->keyint_min;
257 c->range = 8; 256 c->range = 8;
258 if(avctx->me_range > 0) 257 if(avctx->me_range > 0)
259 c->range = FFMIN(avctx->me_range, 127); 258 c->range = FFMIN(avctx->me_range, 127);