diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-01-29 15:50:07 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-01-29 15:50:07 +0000 |
commit | 69e1a1f26abad83a3f71ca98be4ee3f641c54271 (patch) | |
tree | be2c494ecd4a21a79f8acfde60db808394382ba3 | |
parent | 1d0d55daf48a806561ebe3e9f61f62c3f7b93b9d (diff) | |
download | ffmpeg-69e1a1f26abad83a3f71ca98be4ee3f641c54271.tar.gz |
bugfix
Originally committed as revision 1523 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/wmv2.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/wmv2.c b/libavcodec/wmv2.c index ae8176798d..6def6f2a81 100644 --- a/libavcodec/wmv2.c +++ b/libavcodec/wmv2.c @@ -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; |