diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-05-06 19:30:14 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-05-06 19:32:30 +0200 |
commit | c25a8d7dfbdd5f2cf3c275c51697cf0941bbbdcf (patch) | |
tree | 5248a12f0c0a796aa5c852564f5b826577c5246e | |
parent | a565c7b7f2e03a769a821c49818c66474bfaf7fd (diff) | |
download | ffmpeg-c25a8d7dfbdd5f2cf3c275c51697cf0941bbbdcf.tar.gz |
mpegvideo: fix 422 lowres
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-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 40e984b39d..b4b6a39679 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -1666,7 +1666,7 @@ static av_always_inline void mpeg_motion_lowres(MpegEncContext *s, uvsx = mx & s_mask; uvsy = motion_y & s_mask; uvsrc_y = src_y; - uvsrc_x = s->mb_x*2*block_s + (mx >> (lowres+1)); + uvsrc_x = s->mb_x*block_s + (mx >> (lowres+1)); } else { //Chroma444 uvsx = motion_x & s_mask; |