Mercurial > libavcodec.hg
comparison loco.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 | dfdff1ca78a7 |
children | a4104482ceef |
comparison
equal
deleted
inserted
replaced
6516:dbb902bb2347 | 6517:48759bfbd073 |
---|---|
223 *(AVFrame*)data = l->pic; | 223 *(AVFrame*)data = l->pic; |
224 | 224 |
225 return buf_size; | 225 return buf_size; |
226 } | 226 } |
227 | 227 |
228 static int decode_init(AVCodecContext *avctx){ | 228 static av_cold int decode_init(AVCodecContext *avctx){ |
229 LOCOContext * const l = avctx->priv_data; | 229 LOCOContext * const l = avctx->priv_data; |
230 int version; | 230 int version; |
231 | 231 |
232 l->avctx = avctx; | 232 l->avctx = avctx; |
233 if (avctx->extradata_size < 12) { | 233 if (avctx->extradata_size < 12) { |