Mercurial > libavcodec.hg
diff 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 |
line wrap: on
line diff
--- a/libvorbis.c Sun Feb 22 11:35:32 2009 +0000 +++ b/libvorbis.c Sun Feb 22 13:48:55 2009 +0000 @@ -50,7 +50,7 @@ } OggVorbisContext ; -static int oggvorbis_init_encoder(vorbis_info *vi, AVCodecContext *avccontext) { +static av_cold int oggvorbis_init_encoder(vorbis_info *vi, AVCodecContext *avccontext) { double cfreq; if(avccontext->flags & CODEC_FLAG_QSCALE) {