mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-16 04:15:05 +00:00
fix q=0 bug
Originally committed as revision 4754 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
9944fb97c4
commit
71160c55e0
@ -5369,7 +5369,8 @@ static void encode_picture(MpegEncContext *s, int picture_number)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!s->fixed_qscale)
|
if (!s->fixed_qscale)
|
||||||
s->current_picture.quality = ff_rate_estimate_qscale(s); //FIXME pic_ptr
|
s->current_picture_ptr->quality=
|
||||||
|
s->current_picture.quality = ff_rate_estimate_qscale(s);
|
||||||
|
|
||||||
if(s->adaptive_quant){
|
if(s->adaptive_quant){
|
||||||
switch(s->codec_id){
|
switch(s->codec_id){
|
||||||
|
Loading…
Reference in New Issue
Block a user