diff motion_est.c @ 664:00a882f626bd libavcodec

interlaced mpeg4 b frame decoding
author michaelni
date Fri, 13 Sep 2002 09:45:32 +0000
parents 45e8f39fda50
children a1c69cb685b3
line wrap: on
line diff
--- a/motion_est.c	Fri Sep 13 09:28:45 2002 +0000
+++ b/motion_est.c	Fri Sep 13 09:45:32 2002 +0000
@@ -1391,8 +1391,8 @@
     const int motion_px= s->p_mv_table[mot_xy][0];
     const int motion_py= s->p_mv_table[mot_xy][1];
     const int time_pp= s->pp_time;
-    const int time_bp= s->bp_time;
-    const int time_pb= time_pp - time_bp;
+    const int time_pb= s->pb_time;
+    const int time_bp= time_pp - time_pb;
     int bx, by;
     int mx, my, mx2, my2;
     uint8_t *ref_picture= s->me_scratchpad - (mb_x - 1 + (mb_y - 1)*s->linesize)*16;