Revision def1e277

View differences:

libavcodec/zmbvenc.c
246 246
    int lvl = 9;
247 247

  
248 248
    for(i=1; i<256; i++)
249
        score_tab[i]= -i * log2(i/256.0) * 256;
249
        score_tab[i]= -i * log2(i/(double)(ZMBV_BLOCK*ZMBV_BLOCK)) * 256;
250 250

  
251 251
    c->avctx = avctx;
252 252

  

Also available in: Unified diff