mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02: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
|
#ifdef OGGVORBIS_VBR_BY_ESTIMATE
|
||||||
/* variable bitrate 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;
|
return -1;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user