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

Originally committed as revision 25873 to svn://svn.ffmpeg.org/ffmpeg/trunk
oldabi
Bobby Bingham 14 years ago
parent 372c3f82b7
commit 23b8342af4
  1. 2
      libavcodec/mjpegenc.c

@ -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 = {

Loading…
Cancel
Save