comparison avs.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 a955fb25671d
children 5b3acf9fd50a
comparison
equal deleted inserted replaced
6516:dbb902bb2347 6517:48759bfbd073
140 *data_size = sizeof(AVPicture); 140 *data_size = sizeof(AVPicture);
141 141
142 return buf_size; 142 return buf_size;
143 } 143 }
144 144
145 static int avs_decode_init(AVCodecContext * avctx) 145 static av_cold int avs_decode_init(AVCodecContext * avctx)
146 { 146 {
147 avctx->pix_fmt = PIX_FMT_PAL8; 147 avctx->pix_fmt = PIX_FMT_PAL8;
148 return 0; 148 return 0;
149 } 149 }
150 150