aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorDavid Conrad <lessen42@gmail.com>2010-06-04 22:40:36 +0000
committerDavid Conrad <lessen42@gmail.com>2010-06-04 22:40:36 +0000
commited638b5c4bbf867986f82a6fa29a8deb52e20a27 (patch)
tree8a58d08be72afca0937745717d71bff8d7283b1b /libavcodec
parente5a5ea9e894c23f6224fceaef89e105f2c672396 (diff)
downloadffmpeg-ed638b5c4bbf867986f82a6fa29a8deb52e20a27.tar.gz
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
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/libvorbis.c2
1 files changed, 1 insertions, 1 deletions
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
}