Mercurial > libavcodec.hg
changeset 6428:1d35fe8cd53c libavcodec
Make AMR-NB block size const and 8 bits.
author | benoit |
---|---|
date | Fri, 29 Feb 2008 08:01:01 +0000 |
parents | 4c29380d2511 |
children | 3c67363d6fa0 |
files | libamr.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libamr.c Fri Feb 29 07:59:29 2008 +0000 +++ b/libamr.c Fri Feb 29 08:01:01 2008 +0000 @@ -444,7 +444,7 @@ { AMRContext *s = avctx->priv_data; uint8_t*amrData=buf; - static short block_size[16]={ 12, 13, 15, 17, 19, 20, 26, 31, 5, 0, 0, 0, 0, 0, 0, 0 }; + static const uint8_t block_size[16]={ 12, 13, 15, 17, 19, 20, 26, 31, 5, 0, 0, 0, 0, 0, 0, 0 }; enum Mode dec_mode; int packet_size;