Browse Source

dont show uninitalized motion vectors

Originally committed as revision 2645 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 22 years ago
parent
commit
ae55b53303
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavcodec/mpegvideo.c

+ 3
- 0
libavcodec/mpegvideo.c 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++){


Loading…
Cancel
Save