Mercurial > libavcodec.hg
comparison ra144.c @ 7827:82fc486cd128 libavcodec
Cosmetics: Make the two additional units in size more clear
author | vitor |
---|---|
date | Mon, 08 Sep 2008 18:13:53 +0000 |
parents | d965e46aef4f |
children | 0dc972a25a37 |
comparison
equal
deleted
inserted
replaced
7826:ddbb45888e46 | 7827:82fc486cd128 |
---|---|
46 /** the current subblock padded by the last 10 values of the previous one*/ | 46 /** the current subblock padded by the last 10 values of the previous one*/ |
47 int16_t curr_sblock[50]; | 47 int16_t curr_sblock[50]; |
48 | 48 |
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[148]; | 51 uint16_t adapt_cb[146+2]; |
52 } RA144Context; | 52 } RA144Context; |
53 | 53 |
54 static int ra144_decode_init(AVCodecContext * avctx) | 54 static int ra144_decode_init(AVCodecContext * avctx) |
55 { | 55 { |
56 RA144Context *ractx = avctx->priv_data; | 56 RA144Context *ractx = avctx->priv_data; |