Browse Source

init dc_scale tables to defaults (fixes mjpeg sig11)

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

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


Loading…
Cancel
Save