Commit c644217d authored by michael's avatar michael

Little fix for block sizes <16


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13095 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b38b1ed8
...@@ -246,7 +246,7 @@ static av_cold int encode_init(AVCodecContext *avctx) ...@@ -246,7 +246,7 @@ static av_cold int encode_init(AVCodecContext *avctx)
int lvl = 9; int lvl = 9;
for(i=1; i<256; i++) for(i=1; i<256; i++)
score_tab[i]= -i * log2(i/256.0) * 256; score_tab[i]= -i * log2(i/(double)(ZMBV_BLOCK*ZMBV_BLOCK)) * 256;
c->avctx = avctx; c->avctx = avctx;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment