mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-13 10:51:38 +00:00
libavcodec/wmv2: remove dead code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
1c5aa64a59
commit
cf9050c715
@ -136,21 +136,13 @@ void ff_mspel_motion(MpegEncContext *s,
|
||||
|
||||
if(s->flags&CODEC_FLAG_GRAY) return;
|
||||
|
||||
if (s->out_format == FMT_H263) {
|
||||
dxy = 0;
|
||||
if ((motion_x & 3) != 0)
|
||||
dxy |= 1;
|
||||
if ((motion_y & 3) != 0)
|
||||
dxy |= 2;
|
||||
mx = motion_x >> 2;
|
||||
my = motion_y >> 2;
|
||||
} else {
|
||||
mx = motion_x / 2;
|
||||
my = motion_y / 2;
|
||||
dxy = ((my & 1) << 1) | (mx & 1);
|
||||
mx >>= 1;
|
||||
my >>= 1;
|
||||
}
|
||||
dxy = 0;
|
||||
if ((motion_x & 3) != 0)
|
||||
dxy |= 1;
|
||||
if ((motion_y & 3) != 0)
|
||||
dxy |= 2;
|
||||
mx = motion_x >> 2;
|
||||
my = motion_y >> 2;
|
||||
|
||||
src_x = s->mb_x * 8 + mx;
|
||||
src_y = s->mb_y * 8 + my;
|
||||
|
Loading…
Reference in New Issue
Block a user