comparison libvorbis.c @ 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
comparison
equal deleted inserted replaced
11827:e778b61f86f2 11828:474766be9e4d
68 avccontext->sample_rate, minrate, avccontext->bit_rate, maxrate)) 68 avccontext->sample_rate, minrate, avccontext->bit_rate, maxrate))
69 return -1; 69 return -1;
70 70
71 #ifdef OGGVORBIS_VBR_BY_ESTIMATE 71 #ifdef OGGVORBIS_VBR_BY_ESTIMATE
72 /* variable bitrate by estimate */ 72 /* variable bitrate by estimate */
73 if(vorbis_encode_ctl(vi, OV_ECTL_RATEMANAGE_AVG, NULL)) 73 if(vorbis_encode_ctl(vi, OV_ECTL_RATEMANAGE2_SET, NULL))
74 return -1; 74 return -1;
75 #endif 75 #endif
76 } 76 }
77 77
78 /* cutoff frequency */ 78 /* cutoff frequency */