From ed638b5c4bbf867986f82a6fa29a8deb52e20a27 Mon Sep 17 00:00:00 2001 From: David Conrad Date: Fri, 4 Jun 2010 22:40:36 +0000 Subject: 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 --- libavcodec/libvorbis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/libvorbis.c') diff --git a/libavcodec/libvorbis.c b/libavcodec/libvorbis.c index 6772ee4b39..cc9b2f202c 100644 --- a/libavcodec/libvorbis.c +++ b/libavcodec/libvorbis.c @@ -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 } -- cgit v1.2.3