Make sure ff_init_qscale_tab() is called one way or another when
adaptive quantization is enabled. Fixes issue509. Originally committed as revision 20726 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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];
|
||||||
|
Reference in New Issue
Block a user