diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-07-15 14:15:10 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-07-15 14:15:10 +0000 |
commit | 0fd90455ecdf4f9be58c510e0a85d24829cf8845 (patch) | |
tree | a397748c44c59ba8fc26265af9200a2f3615b8d7 /libavcodec/msmpeg4.c | |
parent | cd141f4c22175b7ef976e4ad351afafd2e7838a3 (diff) | |
download | ffmpeg-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.c | 2 |
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; |