dont show uninitalized motion vectors

Originally committed as revision 2645 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2004-01-01 16:56:04 +00:00
parent 69768b77b4
commit ae55b53303
1 changed files with 3 additions and 0 deletions

View File

@ -1520,6 +1520,9 @@ void ff_print_debug_info(MpegEncContext *s, AVFrame *pict){
direction = 1;
break;
}
if(!USES_LIST(pict->mb_type[mb_index], direction))
continue;
if(IS_8X8(pict->mb_type[mb_index])){
int i;
for(i=0; i<4; i++){