# HG changeset patch # User michael # Date 1082310412 0 # Node ID f9212b59a8027fe20e4a401d64970ebf8824c689 # Parent 32f68745c431d3de91630287f1734b84ca200b87 fix exported motion vectors diff -r 32f68745c431 -r f9212b59a802 mpeg12.c --- a/mpeg12.c Sat Apr 17 19:41:49 2004 +0000 +++ b/mpeg12.c Sun Apr 18 17:46:52 2004 +0000 @@ -2334,7 +2334,7 @@ for(dir=0; dir<2; dir++){ if (s->mb_intra || (dir==1 && s->pict_type != B_TYPE)) { motion_x = motion_y = 0; - }else if (s->mv_type == MV_TYPE_16X16){ + }else if (s->mv_type == MV_TYPE_16X16 || (s->mv_type == MV_TYPE_FIELD && field_pic)){ motion_x = s->mv[dir][0][0]; motion_y = s->mv[dir][0][1]; } else /*if ((s->mv_type == MV_TYPE_FIELD) || (s->mv_type == MV_TYPE_16X8))*/ {