Commit b38676a1 authored by michael's avatar michael

Make sure ff_init_qscale_tab() is called one way or another when

adaptive quantization is enabled.
Fixes issue509.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20726 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 60355f98
...@@ -2704,6 +2704,8 @@ static int estimate_qp(MpegEncContext *s, int dry_run){ ...@@ -2704,6 +2704,8 @@ static int estimate_qp(MpegEncContext *s, int dry_run){
if (CONFIG_H263_ENCODER) if (CONFIG_H263_ENCODER)
ff_clean_h263_qscales(s); ff_clean_h263_qscales(s);
break; break;
default:
ff_init_qscale_tab(s);
} }
s->lambda= s->lambda_table[0]; s->lambda= s->lambda_table[0];
......
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