Commit 69e1a1f2 authored by Michael Niedermayer's avatar Michael Niedermayer

bugfix

Originally committed as revision 1523 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 1d0d55da
......@@ -504,8 +504,7 @@ static int16_t *wmv2_pred_motion(Wmv2Context *w, int *px, int *py){
diff= FFMAX(ABS(A[0] - B[0]), ABS(A[1] - B[1]));
if(s->mb_x && s->mb_y && !s->mspel && w->top_left_mv_flag && diff >= 8)
//FIXME top/left bit too if y=!0 && first_slice_line?
if(s->mb_x && !s->first_slice_line && !s->mspel && w->top_left_mv_flag && diff >= 8)
type= get_bits1(&s->gb);
else
type= 2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment