Mercurial > libavcodec.hg
diff libtheoraenc.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 | 5b7d5a33a3e2 |
children | d9f8496b3b91 |
line wrap: on
line diff
--- a/libtheoraenc.c Sun Feb 22 11:35:32 2009 +0000 +++ b/libtheoraenc.c Sun Feb 22 13:48:55 2009 +0000 @@ -77,7 +77,7 @@ return 0; } -static int encode_init(AVCodecContext* avc_context) +static av_cold int encode_init(AVCodecContext* avc_context) { theora_info t_info; theora_comment t_comment; @@ -240,7 +240,7 @@ return o_packet.bytes; } -static int encode_close(AVCodecContext* avc_context) +static av_cold int encode_close(AVCodecContext* avc_context) { ogg_packet o_packet; TheoraContext *h = avc_context->priv_data;