summaryrefslogtreecommitdiff
path: root/libavcodec/h263.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-03-24 22:02:21 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-03-24 22:02:21 +0000
commitd633c2c0964b05b398e24b2447d9487316641794 (patch)
tree51b0b2388bbaf0b68ece4010d1d87baef686d418 /libavcodec/h263.c
parent490922441b42f391b8fad0aee516f5274bde6864 (diff)
b-frame decoding bugfix
Originally committed as revision 359 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263.c')
-rw-r--r--libavcodec/h263.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c
index ccf374eb2e..0a83a4de01 100644
--- a/libavcodec/h263.c
+++ b/libavcodec/h263.c
@@ -1575,10 +1575,9 @@ int h263_decode_mb(MpegEncContext *s,
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 @@ int mpeg4_decode_picture_header(MpegEncContext * s)
}
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++;