init dc_scale tables to defaults (fixes mjpeg sig11)
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 25 Jun 2002 10:15:42 +0000 (10:15 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 25 Jun 2002 10:15:42 +0000 (10:15 +0000)
Originally committed as revision 706 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mpegvideo.c

index 105fb55..fc15b98 100644 (file)
@@ -495,7 +495,9 @@ int MPV_encode_init(AVCodecContext *avctx)
     }
     s->mv_penalty= default_mv_penalty;
     s->fcode_tab= default_fcode_tab;
-
+    s->y_dc_scale_table=
+    s->c_dc_scale_table= ff_mpeg1_dc_scale_table;
     if (s->out_format == FMT_H263)
         h263_encode_init(s);
     else if (s->out_format == FMT_MPEG1)