10l
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 24 Nov 2003 21:53:32 +0000 (21:53 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 24 Nov 2003 21:53:32 +0000 (21:53 +0000)
Originally committed as revision 2529 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mpegvideo.c

index f02b094..4cc31fe 100644 (file)
@@ -470,7 +470,7 @@ int MPV_common_init(MpegEncContext *s)
 
     CHECKED_ALLOCZ(s->error_status_table, mb_array_size*sizeof(uint8_t))
     
-    if (s->out_format == FMT_H263 || s->encoding) {
+    if (s->out_format == FMT_H263 || s->encoding || (s->avctx->debug&FF_DEBUG_VIS_MV)) {
         int size;
 
         /* MV prediction */