aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/msmpeg4.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-07-15 14:15:10 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-07-15 14:15:10 +0000
commit0fd90455ecdf4f9be58c510e0a85d24829cf8845 (patch)
treea397748c44c59ba8fc26265af9200a2f3615b8d7 /libavcodec/msmpeg4.c
parentcd141f4c22175b7ef976e4ad351afafd2e7838a3 (diff)
downloadffmpeg-0fd90455ecdf4f9be58c510e0a85d24829cf8845.tar.gz
uvlinesize
export has_b_frames mb_skip with more than 2 ip buffers Originally committed as revision 762 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/msmpeg4.c')
-rw-r--r--libavcodec/msmpeg4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c
index 7ec550e188..34dc3569d8 100644
--- a/libavcodec/msmpeg4.c
+++ b/libavcodec/msmpeg4.c
@@ -763,7 +763,7 @@ static inline int msmpeg4_pred_dc(MpegEncContext * s, int n,
wrap= s->linesize;
dest= s->current_picture[0] + (((n>>1) + 2*s->mb_y) * 8* wrap ) + ((n&1) + 2*s->mb_x) * 8;
}else{
- wrap= s->linesize>>1;
+ wrap= s->uvlinesize;
dest= s->current_picture[n-3] + (s->mb_y * 8 * wrap) + s->mb_x * 8;
}
if(s->mb_x==0) a= (1024 + (scale>>1))/scale;