Mercurial > libavcodec.hg
comparison xsubdec.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 |
---|---|
20 */ | 20 */ |
21 #include "avcodec.h" | 21 #include "avcodec.h" |
22 #include "bitstream.h" | 22 #include "bitstream.h" |
23 #include "bytestream.h" | 23 #include "bytestream.h" |
24 | 24 |
25 static int decode_init(AVCodecContext *avctx) { | 25 static av_cold int decode_init(AVCodecContext *avctx) { |
26 avctx->pix_fmt = PIX_FMT_PAL8; | 26 avctx->pix_fmt = PIX_FMT_PAL8; |
27 return 0; | 27 return 0; |
28 } | 28 } |
29 | 29 |
30 static const uint8_t tc_offsets[9] = { 0, 1, 3, 4, 6, 7, 9, 10, 11 }; | 30 static const uint8_t tc_offsets[9] = { 0, 1, 3, 4, 6, 7, 9, 10, 11 }; |