comparison qdrw.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
127 *(AVFrame*)data = a->pic; 127 *(AVFrame*)data = a->pic;
128 128
129 return buf_size; 129 return buf_size;
130 } 130 }
131 131
132 static int decode_init(AVCodecContext *avctx){ 132 static av_cold int decode_init(AVCodecContext *avctx){
133 // QdrawContext * const a = avctx->priv_data; 133 // QdrawContext * const a = avctx->priv_data;
134 134
135 if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) { 135 if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) {
136 return 1; 136 return 1;
137 } 137 }