diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-04-18 02:08:39 -0400 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-24 10:29:23 +0200 |
commit | e8aa76713a5ef2bc0821cf1f13425debaa42776f (patch) | |
tree | 182cc6eeb723bb81c00ec1dda25e2ac17d75ba37 /dom/media/flac/FlacDemuxer.cpp | |
parent | e6ffc4bdb76c40e3cc3df4759a9c860fe3c4c66b (diff) | |
download | UXP-e8aa76713a5ef2bc0821cf1f13425debaa42776f.tar UXP-e8aa76713a5ef2bc0821cf1f13425debaa42776f.tar.gz UXP-e8aa76713a5ef2bc0821cf1f13425debaa42776f.tar.lz UXP-e8aa76713a5ef2bc0821cf1f13425debaa42776f.tar.xz UXP-e8aa76713a5ef2bc0821cf1f13425debaa42776f.zip |
Issue #80 - De-unify dom/media/flac
Diffstat (limited to 'dom/media/flac/FlacDemuxer.cpp')
-rw-r--r-- | dom/media/flac/FlacDemuxer.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/dom/media/flac/FlacDemuxer.cpp b/dom/media/flac/FlacDemuxer.cpp index 7a98edbee..6df09cc25 100644 --- a/dom/media/flac/FlacDemuxer.cpp +++ b/dom/media/flac/FlacDemuxer.cpp @@ -33,14 +33,6 @@ namespace flac { // flac::FrameHeader - Holds the flac frame header and its parsing // state. -#define FLAC_MAX_CHANNELS 8 -#define FLAC_MIN_BLOCKSIZE 16 -#define FLAC_MAX_BLOCKSIZE 65535 -#define FLAC_MIN_FRAME_SIZE 11 -#define FLAC_MAX_FRAME_HEADER_SIZE 16 -#define FLAC_MAX_FRAME_SIZE (FLAC_MAX_FRAME_HEADER_SIZE \ - +FLAC_MAX_BLOCKSIZE*FLAC_MAX_CHANNELS*3) - class FrameHeader { public: const AudioInfo& Info() const { return mInfo; } |