mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 01:02:33 +00:00
libvorbis: OV_ECTL_RATEMANAGE_AVG is depreciated in favor of
OV_ECTL_RATEMANAGE2_SET Originally committed as revision 23470 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e5a5ea9e89
commit
ed638b5c4b
@ -70,7 +70,7 @@ static av_cold int oggvorbis_init_encoder(vorbis_info *vi, AVCodecContext *avcco
|
||||
|
||||
#ifdef OGGVORBIS_VBR_BY_ESTIMATE
|
||||
/* variable bitrate by estimate */
|
||||
if(vorbis_encode_ctl(vi, OV_ECTL_RATEMANAGE_AVG, NULL))
|
||||
if(vorbis_encode_ctl(vi, OV_ECTL_RATEMANAGE2_SET, NULL))
|
||||
return -1;
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user