[FFmpeg-cvslog] r25873 - trunk/libavcodec/mjpegenc.c

koorogi subversion
Sat Dec 4 06:21:03 CET 2010


Author: koorogi
Date: Sat Dec  4 06:21:03 2010
New Revision: 25873

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

Modified:
   trunk/libavcodec/mjpegenc.c

Modified: trunk/libavcodec/mjpegenc.c
==============================================================================
--- trunk/libavcodec/mjpegenc.c	Sat Dec  4 05:00:21 2010	(r25872)
+++ trunk/libavcodec/mjpegenc.c	Sat Dec  4 06:21:03 2010	(r25873)
@@ -441,6 +441,8 @@ void ff_mjpeg_encode_mb(MpegEncContext *
         encode_block(s, block[5], 5);
         encode_block(s, block[7], 7);
     }
+
+    s->i_tex_bits += get_bits_diff(s);
 }
 
 AVCodec mjpeg_encoder = {



More information about the ffmpeg-cvslog mailing list