[FFmpeg-devel] [PATCH 2/3] libvorbis: OV_ECTL_RATEMANAGE_AVG is depreciated in favor of OV_ECTL_RATEMANAGE2_SET

David Conrad lessen42
Fri Jun 4 06:41:44 CEST 2010


---
 libavcodec/libvorbis.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/libvorbis.c b/libavcodec/libvorbis.c
index 6772ee4..cc9b2f2 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
     }
-- 
1.7.0.2




More information about the ffmpeg-devel mailing list