Mercurial > libavcodec.hg
diff pnmenc.c @ 6517:48759bfbd073 libavcodec
Apply 'cold' attribute to init/uninit functions in libavcodec
author | zuxy |
---|---|
date | Fri, 21 Mar 2008 03:11:20 +0000 |
parents | ec8c482d17c1 |
children | 6eeb19edcee3 |
line wrap: on
line diff
--- a/pnmenc.c Thu Mar 20 19:36:20 2008 +0000 +++ b/pnmenc.c Fri Mar 21 03:11:20 2008 +0000 @@ -23,7 +23,7 @@ #include "pnm.h" -static int common_init(AVCodecContext *avctx){ +static av_cold int common_init(AVCodecContext *avctx){ PNMContext *s = avctx->priv_data; avcodec_get_frame_defaults((AVFrame*)&s->picture);