aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2009-01-25 00:34:32 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2009-01-25 00:34:32 +0000
commitce7e82144f5cd063de0af04bb90996753bdb74e1 (patch)
tree5e2dba0b8e317770b74687ecce12ddd324c7bd8b
parentd38b88213ed25ed4c552a00b2b6ed07e93b4590b (diff)
downloadffmpeg-ce7e82144f5cd063de0af04bb90996753bdb74e1.tar.gz
move FLAC_STREAMINFO_SIZE to flac.h
Originally committed as revision 16766 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/flac.h2
-rw-r--r--libavcodec/flacdec.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/flac.h b/libavcodec/flac.h
index bab6b1d16d..246ec44fd2 100644
--- a/libavcodec/flac.h
+++ b/libavcodec/flac.h
@@ -29,6 +29,8 @@
#include "avcodec.h"
+#define FLAC_STREAMINFO_SIZE 34
+
enum {
FLAC_METADATA_TYPE_STREAMINFO = 0,
FLAC_METADATA_TYPE_PADDING,
diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c
index 16aa476376..7ebf01595b 100644
--- a/libavcodec/flacdec.c
+++ b/libavcodec/flacdec.c
@@ -47,7 +47,6 @@
#define MAX_CHANNELS 8
#define MAX_BLOCKSIZE 65535
-#define FLAC_STREAMINFO_SIZE 34
enum decorrelation_type {
INDEPENDENT,