Mercurial > libavcodec.hg
diff huffyuv.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 | 31138c296ac6 |
children | ee59f4f22dce |
line wrap: on
line diff
--- a/huffyuv.c Sun Feb 22 11:35:32 2009 +0000 +++ b/huffyuv.c Sun Feb 22 13:48:55 2009 +0000 @@ -431,7 +431,7 @@ #endif } -static void alloc_temp(HYuvContext *s){ +static av_cold void alloc_temp(HYuvContext *s){ int i; if(s->bitstream_bpp<24){ @@ -445,7 +445,7 @@ } } -static int common_init(AVCodecContext *avctx){ +static av_cold int common_init(AVCodecContext *avctx){ HYuvContext *s = avctx->priv_data; s->avctx= avctx;