Mercurial > libavcodec.hg
comparison mpegvideo.c @ 1712:5175116a97e8 libavcodec
dont show uninitalized motion vectors
author | michael |
---|---|
date | Thu, 01 Jan 2004 16:56:04 +0000 |
parents | f2f8eddf1b13 |
children | 88a2c6cc45f4 |
comparison
equal
deleted
inserted
replaced
1711:f2f8eddf1b13 | 1712:5175116a97e8 |
---|---|
1518 case 2: if ((!(s->avctx->debug_mv&FF_DEBUG_VIS_MV_B_BACK)) || (pict->pict_type!=FF_B_TYPE)) | 1518 case 2: if ((!(s->avctx->debug_mv&FF_DEBUG_VIS_MV_B_BACK)) || (pict->pict_type!=FF_B_TYPE)) |
1519 continue; | 1519 continue; |
1520 direction = 1; | 1520 direction = 1; |
1521 break; | 1521 break; |
1522 } | 1522 } |
1523 if(!USES_LIST(pict->mb_type[mb_index], direction)) | |
1524 continue; | |
1525 | |
1523 if(IS_8X8(pict->mb_type[mb_index])){ | 1526 if(IS_8X8(pict->mb_type[mb_index])){ |
1524 int i; | 1527 int i; |
1525 for(i=0; i<4; i++){ | 1528 for(i=0; i<4; i++){ |
1526 int sx= mb_x*16 + 4 + 8*(i&1); | 1529 int sx= mb_x*16 + 4 + 8*(i&1); |
1527 int sy= mb_y*16 + 4 + 8*(i>>1); | 1530 int sy= mb_y*16 + 4 + 8*(i>>1); |