forked from len0rd/rockbox
flac: Bump maximum channel count to 7 (FS#13306)
This is actually the root fix for the crash; the fix in
772eff8ca6
didn't restrict it to 2 channels, just sanity
checked the file vs MAX_CHANNELS.
Change-Id: If5a0a9b946a179ad47d6e7955f7c025de3aaaa0e
This commit is contained in:
parent
ef19fa4408
commit
3aef933348
1 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
#include "bitstream.h"
|
#include "bitstream.h"
|
||||||
|
|
||||||
#define MAX_CHANNELS 6 /* Maximum supported channels, only left/right will be played back */
|
#define MAX_CHANNELS 7 /* Maximum supported channels, only left/right will be played back */
|
||||||
#define MAX_BLOCKSIZE 4608 /* Maxsize in samples of one uncompressed frame */
|
#define MAX_BLOCKSIZE 4608 /* Maxsize in samples of one uncompressed frame */
|
||||||
#define MAX_FRAMESIZE 65536 /* Maxsize in bytes of one compressed frame */
|
#define MAX_FRAMESIZE 65536 /* Maxsize in bytes of one compressed frame */
|
||||||
#define MIN_FRAME_SIZE 11 /* smallest valid FLAC frame possible */
|
#define MIN_FRAME_SIZE 11 /* smallest valid FLAC frame possible */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue