comparison wnv1.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 2b72f9bc4f06
children a4104482ceef
comparison
equal deleted inserted replaced
6516:dbb902bb2347 6517:48759bfbd073
114 *(AVFrame*)data = l->pic; 114 *(AVFrame*)data = l->pic;
115 115
116 return buf_size; 116 return buf_size;
117 } 117 }
118 118
119 static int decode_init(AVCodecContext *avctx){ 119 static av_cold int decode_init(AVCodecContext *avctx){
120 WNV1Context * const l = avctx->priv_data; 120 WNV1Context * const l = avctx->priv_data;
121 121
122 l->avctx = avctx; 122 l->avctx = avctx;
123 avctx->pix_fmt = PIX_FMT_YUV422P; 123 avctx->pix_fmt = PIX_FMT_YUV422P;
124 124