comparison libvorbis.c @ 9007:043574c5c153 libavcodec

Add missing av_cold in static init/close functions. Patch by Daniel Verkamp daniel at drv dot nu.
author stefano
date Sun, 22 Feb 2009 13:48:55 +0000
parents 0960d775e97b
children 3f766c507a70
comparison
equal deleted inserted replaced
9006:37ac731fe32c 9007:043574c5c153
48 vorbis_comment vc ; 48 vorbis_comment vc ;
49 ogg_packet op; 49 ogg_packet op;
50 } OggVorbisContext ; 50 } OggVorbisContext ;
51 51
52 52
53 static int oggvorbis_init_encoder(vorbis_info *vi, AVCodecContext *avccontext) { 53 static av_cold int oggvorbis_init_encoder(vorbis_info *vi, AVCodecContext *avccontext) {
54 double cfreq; 54 double cfreq;
55 55
56 if(avccontext->flags & CODEC_FLAG_QSCALE) { 56 if(avccontext->flags & CODEC_FLAG_QSCALE) {
57 /* variable bitrate */ 57 /* variable bitrate */
58 if(vorbis_encode_setup_vbr(vi, avccontext->channels, 58 if(vorbis_encode_setup_vbr(vi, avccontext->channels,