1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

wmv2enc: fix rounding flag.

Fixes Ticket1467

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-06-19 21:35:32 +02:00
parent 9e7543361c
commit 18d7bea695

View File

@ -3246,6 +3246,7 @@ static int encode_picture(MpegEncContext *s, int picture_number)
for(i=0; i<s->mb_stride*s->mb_height; i++) for(i=0; i<s->mb_stride*s->mb_height; i++)
s->mb_type[i]= CANDIDATE_MB_TYPE_INTRA; 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); //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){ if(!s->umvplus){