summaryrefslogtreecommitdiff
path: root/libavcodec/flac.h
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2009-03-19 03:04:21 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2009-03-19 03:04:21 +0000
commit07d16e2ecfb7da976ef56829c4fd6f93ca94b00e (patch)
tree7405a89ceefe40f86faf665063d2b8f0a02f1145 /libavcodec/flac.h
parentbb504ac45ec5cf3cb114895cf721950b5fcda34c (diff)
share some constants between the FLAC encoder and FLAC decoder
Originally committed as revision 18041 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/flac.h')
-rw-r--r--libavcodec/flac.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/flac.h b/libavcodec/flac.h
index c93d98e144..c957893d30 100644
--- a/libavcodec/flac.h
+++ b/libavcodec/flac.h
@@ -30,6 +30,9 @@
#include "avcodec.h"
#define FLAC_STREAMINFO_SIZE 34
+#define FLAC_MAX_CHANNELS 8
+#define FLAC_MIN_BLOCKSIZE 16
+#define FLAC_MAX_BLOCKSIZE 65535
enum {
FLAC_METADATA_TYPE_STREAMINFO = 0,