changeset 11828:474766be9e4d libavcodec

libvorbis: OV_ECTL_RATEMANAGE_AVG is depreciated in favor of OV_ECTL_RATEMANAGE2_SET
author conrad
date Fri, 04 Jun 2010 22:40:36 +0000
parents e778b61f86f2
children 582c0687fc63
files libvorbis.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvorbis.c	Fri Jun 04 22:40:31 2010 +0000
+++ b/libvorbis.c	Fri Jun 04 22:40:36 2010 +0000
@@ -70,7 +70,7 @@
 
 #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
     }