projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
372c3f8
)
Count non-header data towards intra block bit count in MJPEG encoder
author
Bobby Bingham
<uhmmmm@gmail.com>
Sat, 4 Dec 2010 05:21:03 +0000
(
05:21
+0000)
committer
Bobby Bingham
<uhmmmm@gmail.com>
Sat, 4 Dec 2010 05:21:03 +0000
(
05:21
+0000)
Originally committed as revision 25873 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mjpegenc.c
patch
|
blob
|
history
diff --git
a/libavcodec/mjpegenc.c
b/libavcodec/mjpegenc.c
index ec819c800a6b2d491da57ef47bb89d7768cb0a0f..05f0bed35dd351adae9660a15244edc11d25858d 100644
(file)
--- 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 = {