Commit 7af11d88 authored by michaelni's avatar michaelni

init dc_scale tables to defaults (fixes mjpeg sig11)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@706 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 59969a6f
...@@ -495,7 +495,9 @@ int MPV_encode_init(AVCodecContext *avctx) ...@@ -495,7 +495,9 @@ int MPV_encode_init(AVCodecContext *avctx)
} }
s->mv_penalty= default_mv_penalty; s->mv_penalty= default_mv_penalty;
s->fcode_tab= default_fcode_tab; 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) if (s->out_format == FMT_H263)
h263_encode_init(s); h263_encode_init(s);
else if (s->out_format == FMT_MPEG1) else if (s->out_format == FMT_MPEG1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment