comparison mpegvideo.c @ 208:2eb04d6be309 libavcodec

(commit by michael) bye bye weird al rounding bug ;)
author arpi_esp
date Tue, 15 Jan 2002 22:22:41 +0000
parents 6954f2830e4a
children f8802ed5332b
comparison
equal deleted inserted replaced
207:6954f2830e4a 208:2eb04d6be309
1050 s->mb_line_avgsize = (s->mb_line_avgsize + s->pb.buf_ptr - s->ptr_last_mb_line) >> 1; 1050 s->mb_line_avgsize = (s->mb_line_avgsize + s->pb.buf_ptr - s->ptr_last_mb_line) >> 1;
1051 //fprintf(stderr, "\nMB line: %d\tSize: %u\tAvg. Size: %u", s->mb_y, 1051 //fprintf(stderr, "\nMB line: %d\tSize: %u\tAvg. Size: %u", s->mb_y,
1052 // (s->pb.buf_ptr - s->ptr_last_mb_line), s->mb_line_avgsize); 1052 // (s->pb.buf_ptr - s->ptr_last_mb_line), s->mb_line_avgsize);
1053 s->ptr_last_mb_line = s->pb.buf_ptr; 1053 s->ptr_last_mb_line = s->pb.buf_ptr;
1054 } 1054 }
1055
1056 if (s->h263_msmpeg4)
1057 msmpeg4_encode_ext_header(s);
1058
1055 //if (s->gob_number) 1059 //if (s->gob_number)
1056 // fprintf(stderr,"\nNumber of GOB: %d", s->gob_number); 1060 // fprintf(stderr,"\nNumber of GOB: %d", s->gob_number);
1057 } 1061 }
1058 1062
1059 static int dct_quantize(MpegEncContext *s, 1063 static int dct_quantize(MpegEncContext *s,