Commit 18d7bea6 authored by Michael Niedermayer's avatar Michael Niedermayer

wmv2enc: fix rounding flag.

Fixes Ticket1467
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 9e754336
......@@ -3246,6 +3246,7 @@ static int encode_picture(MpegEncContext *s, int picture_number)
for(i=0; i<s->mb_stride*s->mb_height; i++)
s->mb_type[i]= CANDIDATE_MB_TYPE_INTRA;
//printf("Scene change detected, encoding as I Frame %d %d\n", s->current_picture.mb_var_sum, s->current_picture.mc_mb_var_sum);
if(s->msmpeg4_version >= 3) s->no_rounding=1;
}
if(!s->umvplus){
......
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