comparison indeo2.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
186 *data_size = sizeof(AVPicture); 186 *data_size = sizeof(AVPicture);
187 187
188 return buf_size; 188 return buf_size;
189 } 189 }
190 190
191 static int ir2_decode_init(AVCodecContext *avctx){ 191 static av_cold int ir2_decode_init(AVCodecContext *avctx){
192 Ir2Context * const ic = avctx->priv_data; 192 Ir2Context * const ic = avctx->priv_data;
193 193
194 ic->avctx = avctx; 194 ic->avctx = avctx;
195 195
196 avctx->pix_fmt= PIX_FMT_YUV410P; 196 avctx->pix_fmt= PIX_FMT_YUV410P;