mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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:
parent
9015b095bc
commit
ccc4b91832
@ -2704,6 +2704,8 @@ static int estimate_qp(MpegEncContext *s, int dry_run){
|
||||
if (CONFIG_H263_ENCODER)
|
||||
ff_clean_h263_qscales(s);
|
||||
break;
|
||||
default:
|
||||
ff_init_qscale_tab(s);
|
||||
}
|
||||
|
||||
s->lambda= s->lambda_table[0];
|
||||
|
Loading…
Reference in New Issue
Block a user