Mercurial > libavcodec.hg
comparison ra144.c @ 7828:0dc972a25a37 libavcodec
Add av_cold attribute to decode_init()
author | vitor |
---|---|
date | Mon, 08 Sep 2008 18:14:37 +0000 |
parents | 82fc486cd128 |
children | 7640294af313 |
comparison
equal
deleted
inserted
replaced
7827:82fc486cd128 | 7828:0dc972a25a37 |
---|---|
49 /** adaptive codebook. Its size is two units bigger to avoid a | 49 /** adaptive codebook. Its size is two units bigger to avoid a |
50 * buffer overflow */ | 50 * buffer overflow */ |
51 uint16_t adapt_cb[146+2]; | 51 uint16_t adapt_cb[146+2]; |
52 } RA144Context; | 52 } RA144Context; |
53 | 53 |
54 static int ra144_decode_init(AVCodecContext * avctx) | 54 static av_cold int ra144_decode_init(AVCodecContext * avctx) |
55 { | 55 { |
56 RA144Context *ractx = avctx->priv_data; | 56 RA144Context *ractx = avctx->priv_data; |
57 | 57 |
58 ractx->lpc_coef[0] = ractx->lpc_tables[0]; | 58 ractx->lpc_coef[0] = ractx->lpc_tables[0]; |
59 ractx->lpc_coef[1] = ractx->lpc_tables[1]; | 59 ractx->lpc_coef[1] = ractx->lpc_tables[1]; |