changeset 1043:747790b270cf libavcodec

bugfix
author michaelni
date Wed, 29 Jan 2003 15:50:07 +0000
parents a78f6f72d54e
children c6b3af81d79e
files wmv2.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/wmv2.c	Wed Jan 29 12:00:11 2003 +0000
+++ b/wmv2.c	Wed Jan 29 15:50:07 2003 +0000
@@ -504,8 +504,7 @@
     
     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;