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,