From bea669e57cdd72b22cfc51514493a90f62dc96c9 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 13 Sep 2002 09:45:32 +0000 Subject: interlaced mpeg4 b frame decoding Originally committed as revision 936 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/motion_est.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/motion_est.c') diff --git a/libavcodec/motion_est.c b/libavcodec/motion_est.c index 325d0f5..032556a 100644 --- a/libavcodec/motion_est.c +++ b/libavcodec/motion_est.c @@ -1391,8 +1391,8 @@ static inline int direct_search(MpegEncContext * s, 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; -- cgit v1.1