Count non-header data towards intra block bit count in MJPEG encoder

Originally committed as revision 25873 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Bobby Bingham 2010-12-04 05:21:03 +00:00
parent 372c3f82b7
commit 23b8342af4

View File

@ -441,6 +441,8 @@ void ff_mjpeg_encode_mb(MpegEncContext *s, DCTELEM block[6][64])
encode_block(s, block[5], 5);
encode_block(s, block[7], 7);
}
s->i_tex_bits += get_bits_diff(s);
}
AVCodec mjpeg_encoder = {