summaryrefslogtreecommitdiff
path: root/libavcodec/bfi.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/bfi.c
parent50ded3fdb65aa6298253a1522c0981c3e113d022 (diff)
downloadffmpeg-5ef251e50437ce84a00735c5cac8dd836fb032e9.tar.gz
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/bfi.c')
-rw-r--r--libavcodec/bfi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/bfi.c b/libavcodec/bfi.c
index 50d3beafa4..d611144df3 100644
--- a/libavcodec/bfi.c
+++ b/libavcodec/bfi.c
@@ -36,7 +36,7 @@ typedef struct BFIContext {
uint8_t *dst;
} BFIContext;
-static int bfi_decode_init(AVCodecContext * avctx)
+static av_cold int bfi_decode_init(AVCodecContext * avctx)
{
BFIContext *bfi = avctx->priv_data;
avctx->pix_fmt = PIX_FMT_PAL8;
@@ -161,7 +161,7 @@ static int bfi_decode_frame(AVCodecContext * avctx, void *data,
return buf_size;
}
-static int bfi_decode_close(AVCodecContext * avctx)
+static av_cold int bfi_decode_close(AVCodecContext * avctx)
{
BFIContext *bfi = avctx->priv_data;
if (bfi->frame.data[0])