From: Jaroslav Kysela Date: Tue, 6 Dec 2016 08:17:24 +0000 (+0100) Subject: parser: aac - fix aac_sample_rates[] overflow X-Git-Tag: v4.2.1~188 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=290cf5152341dbc2135f147923c25ef5d184d9e2;p=thirdparty%2Ftvheadend.git parser: aac - fix aac_sample_rates[] overflow --- diff --git a/src/parsers/parsers.c b/src/parsers/parsers.c index 2924d8750..e6f6dcb55 100644 --- a/src/parsers/parsers.c +++ b/src/parsers/parsers.c @@ -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, @@ -563,7 +563,11 @@ static const int aac_sample_rates[12] = 16000, 12000, 11025, - 8000 + 8000, + 7350, + 0, + 0, + 0 }; /**