mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
aacdec_ac: fix an overread
Fixes reading state->last[i + 1] in ff_aac_ac_get_context for the last array member.
This commit is contained in:
parent
50e5b78b79
commit
89de2f0de1
@ -25,7 +25,7 @@
|
||||
#include "libavcodec/get_bits.h"
|
||||
|
||||
typedef struct AACArithState {
|
||||
uint8_t last[512 /* 2048 / 4 */];
|
||||
uint8_t last[512 /* 2048 / 4 */ + 1];
|
||||
int last_len;
|
||||
uint8_t cur[4];
|
||||
uint16_t state_pre;
|
||||
|
Loading…
Reference in New Issue
Block a user