Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
parser: aac - fix aac_sample_rates[] overflow
  • Loading branch information
perexg committed Dec 6, 2016
1 parent 03f90fc commit 290cf51
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/parsers/parsers.c
Expand Up @@ -550,7 +550,7 @@ makeapkt(service_t *t, elementary_stream_t *st, const void *buf,
* Parse AAC MP4A
*/

static const int aac_sample_rates[12] =
static const int aac_sample_rates[16] =
{
96000,
88200,
Expand All @@ -563,7 +563,11 @@ static const int aac_sample_rates[12] =
16000,
12000,
11025,
8000
8000,
7350,
0,
0,
0
};

/**
Expand Down

0 comments on commit 290cf51

Please sign in to comment.