Commit 88f45e03 authored by michael's avatar michael

fix exported motion vectors


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3032 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 6ce7faf7
......@@ -2334,7 +2334,7 @@ static int mpeg_decode_slice(Mpeg1Context *s1, int mb_y,
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))*/ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment