History

mpegvideo: fix 422 lowres Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer committed 15 years ago

Commit c25a8d71 parent a565c7b1 file · +1 −1Browse files

Unified · Split

libavcodec/mpegvideo.c+1−1
@@ -1666,7 +1666,7 @@ static av_always_inline void mpeg_motion_lowres(MpegEncContext *s, · 1665 unmodified lines
16661666 uvsx = mx & s_mask;
16671667 uvsy = motion_y & s_mask;
16681668 uvsrc_y = src_y;
1669− uvsrc_x = s->mb_x*2*block_s + (mx >> (lowres+1));
1669+ uvsrc_x = s->mb_x*block_s + (mx >> (lowres+1));
16701670 } else {
16711671 //Chroma444
16721672 uvsx = motion_x & s_mask;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t