diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-01-18 01:37:42 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-01-18 01:37:42 +0000 |
commit | 1d0eab1dcc26344309f624a95d91f97d72f4b847 (patch) | |
tree | 37ae014bba1a776294910fba748ad563b662923b /libavcodec/mpegvideo.c | |
parent | e51d4defe06c0acbfb56b5256cefae3b39a7d5c1 (diff) |
bugs
Originally committed as revision 1469 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r-- | libavcodec/mpegvideo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 44d88f2f0e..48efd28648 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -2592,7 +2592,7 @@ static void encode_mb(MpegEncContext *s, int motion_x, int motion_y) s->block_last_index[4]= s->block_last_index[5]= 0; s->block[4][0]= - s->block[5][0]= 128; + s->block[5][0]= (1024 + s->c_dc_scale/2)/ s->c_dc_scale; } #ifdef CONFIG_ENCODERS |