init dc_scale tables to defaults (fixes mjpeg sig11)

Originally committed as revision 706 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 23 years ago
parent db42e13bfb
commit a406617f2a
  1. 2
      libavcodec/mpegvideo.c

@ -495,6 +495,8 @@ 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);

Loading…
Cancel
Save