changeset 291:ab46ebfd419f libavcodec

b-frame decoding bugfix
author michaelni
date Sun, 24 Mar 2002 22:02:21 +0000
parents 2899263586cd
children 73a9ce3d9715
files h263.c
diffstat 1 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/h263.c	Sun Mar 24 21:25:04 2002 +0000
+++ b/h263.c	Sun Mar 24 22:02:21 2002 +0000
@@ -1575,10 +1575,9 @@
             s->mv[0][0][1] = 0;
             s->mv[1][0][0] = 0;
             s->mv[1][0][1] = 0;
-            s->last_mv[0][0][0]=
-            s->last_mv[0][0][1]= 
-            s->last_mv[1][0][0]= 
-            s->last_mv[1][0][1]= 0;
+//FIXME is this correct?
+/*            s->last_mv[0][0][0]=
+            s->last_mv[0][0][1]=0;*/
             s->mb_skiped = 1;
             return 0;
         }
@@ -2485,7 +2484,7 @@
     }
 
     s->pict_type = get_bits(&s->gb, 2) + 1;	/* pict type: I = 0 , P = 1 */
-//printf("pic: %d\n", s->pict_type); 
+//printf("pic: %d, qpel:%d\n", s->pict_type, s->quarter_sample); 
     time_incr=0;
     while (get_bits1(&s->gb) != 0) 
         time_incr++;