mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
Make AMR-NB block size const and 8 bits.
Originally committed as revision 12278 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
675bc0bccb
commit
79aeec0839
@ -444,7 +444,7 @@ static int amr_nb_decode_frame(AVCodecContext * avctx,
|
||||
{
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user