dont show uninitalized motion vectors

Originally committed as revision 2645 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 21 years ago
parent 69768b77b4
commit ae55b53303
  1. 3
      libavcodec/mpegvideo.c

@ -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++){

Loading…
Cancel
Save