mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 19:59:46 +00:00
init dc_scale tables to defaults (fixes mjpeg sig11)
Originally committed as revision 706 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
db42e13bfb
commit
a406617f2a
@ -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…
Reference in New Issue
Block a user