aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/motion_est.c
diff options
context:
space:
mode:
authorJuanjo <pulento@users.sourceforge.net>2002-02-15 20:46:37 +0000
committerJuanjo <pulento@users.sourceforge.net>2002-02-15 20:46:37 +0000
commitb4dbd87c0411ddfafd645d65e1214bcb2c376ddd (patch)
tree744900952cb4eb0fdc54ec5f28e33af1805abae6 /libavcodec/motion_est.c
parentd8cf5aea499eebddac8f554430ee8d029430eb0b (diff)
downloadffmpeg-b4dbd87c0411ddfafd645d65e1214bcb2c376ddd.tar.gz
- Minor changes on bitrate control
Originally committed as revision 300 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/motion_est.c')
-rw-r--r--libavcodec/motion_est.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/motion_est.c b/libavcodec/motion_est.c
index 8e215f9e9f..0cdb370f91 100644
--- a/libavcodec/motion_est.c
+++ b/libavcodec/motion_est.c
@@ -458,7 +458,7 @@ int estimate_motion(MpegEncContext * s,
vard = vard >> 8;
sum = sum >> 8;
varc = (varc >> 8) - (sum * sum);
-
+ s->mb_var[s->mb_width * mb_y + mb_x] = varc;
s->avg_mb_var += varc;
#if 0