Mercurial > libavcodec.hg
diff bfi.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 | e3693cef784a |
| children | 54bc8a2727b0 |
line wrap: on
line diff
--- a/bfi.c Sun Feb 22 11:35:32 2009 +0000 +++ b/bfi.c Sun Feb 22 13:48:55 2009 +0000 @@ -36,7 +36,7 @@ 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 @@ 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])
