Mercurial > libavcodec.hg
comparison mpc7.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 | 8e63d869a904 |
| children | a4104482ceef |
comparison
equal
deleted
inserted
replaced
| 6516:dbb902bb2347 | 6517:48759bfbd073 |
|---|---|
| 42 #define SAMPLES_PER_BAND 36 | 42 #define SAMPLES_PER_BAND 36 |
| 43 #define MPC_FRAME_SIZE (BANDS * SAMPLES_PER_BAND) | 43 #define MPC_FRAME_SIZE (BANDS * SAMPLES_PER_BAND) |
| 44 | 44 |
| 45 static VLC scfi_vlc, dscf_vlc, hdr_vlc, quant_vlc[MPC7_QUANT_VLC_TABLES][2]; | 45 static VLC scfi_vlc, dscf_vlc, hdr_vlc, quant_vlc[MPC7_QUANT_VLC_TABLES][2]; |
| 46 | 46 |
| 47 static int mpc7_decode_init(AVCodecContext * avctx) | 47 static av_cold int mpc7_decode_init(AVCodecContext * avctx) |
| 48 { | 48 { |
| 49 int i, j; | 49 int i, j; |
| 50 MPCContext *c = avctx->priv_data; | 50 MPCContext *c = avctx->priv_data; |
| 51 GetBitContext gb; | 51 GetBitContext gb; |
| 52 uint8_t buf[16]; | 52 uint8_t buf[16]; |
