mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-03 05:22:10 +00:00
libavformat/adtsenc: Increase ADTS_MAX_FRAME_BYTES from 8k to 16k
ADTS frames may contain up to 768 bytes per channel. With 16 channels, this is 12k, which cannot fit into the maximum 8k buffer. Signed-off-by: Chris Ribble <chris.ribble@resi.io>
This commit is contained in:
parent
c8197f73e6
commit
c9fed043f1
@ -44,7 +44,7 @@ typedef struct ADTSContext {
|
||||
uint8_t pce_data[MAX_PCE_SIZE];
|
||||
} ADTSContext;
|
||||
|
||||
#define ADTS_MAX_FRAME_BYTES ((1 << 13) - 1)
|
||||
#define ADTS_MAX_FRAME_BYTES ((1 << 14) - 1)
|
||||
|
||||
static int adts_decode_extradata(AVFormatContext *s, ADTSContext *adts, const uint8_t *buf, int size)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user