comparison xl.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 c32be43b52b2
children a4104482ceef
comparison
equal deleted inserted replaced
6516:dbb902bb2347 6517:48759bfbd073
115 *(AVFrame*)data = a->pic; 115 *(AVFrame*)data = a->pic;
116 116
117 return buf_size; 117 return buf_size;
118 } 118 }
119 119
120 static int decode_init(AVCodecContext *avctx){ 120 static av_cold int decode_init(AVCodecContext *avctx){
121 // VideoXLContext * const a = avctx->priv_data; 121 // VideoXLContext * const a = avctx->priv_data;
122 122
123 avctx->pix_fmt= PIX_FMT_YUV411P; 123 avctx->pix_fmt= PIX_FMT_YUV411P;
124 124
125 return 0; 125 return 0;