summaryrefslogtreecommitdiff
path: root/libavcodec/libtheoraenc.c
diff options
context:
space:
mode:
authorDaniel Verkamp <daniel@drv.nu>2009-02-22 13:48:55 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-22 13:48:55 +0000
commit5ef251e50437ce84a00735c5cac8dd836fb032e9 (patch)
treee752d1fdee8e36709b00b5af5005599ccd071375 /libavcodec/libtheoraenc.c
parent50ded3fdb65aa6298253a1522c0981c3e113d022 (diff)
Add missing av_cold in static init/close functions.
Patch by Daniel Verkamp daniel at drv dot nu. Originally committed as revision 17526 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/libtheoraenc.c')
-rw-r--r--libavcodec/libtheoraenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libtheoraenc.c b/libavcodec/libtheoraenc.c
index e19cc4c0d0..dbc98e3b5e 100644
--- a/libavcodec/libtheoraenc.c
+++ b/libavcodec/libtheoraenc.c
@@ -77,7 +77,7 @@ static int concatenate_packet(unsigned int* offset, AVCodecContext* avc_context,
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 @@ static int encode_frame(
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;