diff options
author | Bobby Bingham <uhmmmm@gmail.com> | 2010-12-04 05:21:03 +0000 |
---|---|---|
committer | Bobby Bingham <uhmmmm@gmail.com> | 2010-12-04 05:21:03 +0000 |
commit | 23b8342af413c447ef9c4c0e0f645833b96fd1bf (patch) | |
tree | 10bdab22d0de62bb1b2731637e3e289fe7a96e0a /libavcodec | |
parent | 372c3f82b7d73a4bab570f357cfb299c2531a95b (diff) | |
download | ffmpeg-23b8342af413c447ef9c4c0e0f645833b96fd1bf.tar.gz |
Count non-header data towards intra block bit count in MJPEG encoder
Originally committed as revision 25873 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mjpegenc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mjpegenc.c b/libavcodec/mjpegenc.c index ec819c800a..05f0bed35d 100644 --- a/libavcodec/mjpegenc.c +++ b/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 = { |