[FFmpeg-cvslog] r23470 - trunk/libavcodec/libvorbis.c

conrad subversion
Sat Jun 5 00:40:37 CEST 2010


Author: conrad
Date: Sat Jun  5 00:40:36 2010
New Revision: 23470

Log:
libvorbis: OV_ECTL_RATEMANAGE_AVG is depreciated in favor of
OV_ECTL_RATEMANAGE2_SET

Modified:
   trunk/libavcodec/libvorbis.c

Modified: trunk/libavcodec/libvorbis.c
==============================================================================
--- trunk/libavcodec/libvorbis.c	Sat Jun  5 00:40:31 2010	(r23469)
+++ trunk/libavcodec/libvorbis.c	Sat Jun  5 00:40:36 2010	(r23470)
@@ -70,7 +70,7 @@ static av_cold int oggvorbis_init_encode
 
 #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
     }



More information about the ffmpeg-cvslog mailing list