summaryrefslogtreecommitdiff
path: root/libavcodec/adx.h
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-11-21 01:49:37 -0500
committerJustin Ruggles <justin.ruggles@gmail.com>2011-11-26 16:25:07 -0500
commit27360ccc5edcaa1a37dec39127e87c461ce668b6 (patch)
treed0dd010e4a00fc34ec3b2aa8cb8c83f85958b246 /libavcodec/adx.h
parentd8cec2d7fc1c2c5b6f82b8743b3cfd04cd4bb8cc (diff)
adx: add an ADX parser.
This simplifies the decoder so it doesn't have to process an in-packet header or handle arbitrary-sized packets. It also fixes decoding of files with large headers.
Diffstat (limited to 'libavcodec/adx.h')
-rw-r--r--libavcodec/adx.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/adx.h b/libavcodec/adx.h
index f68a3cb793..93d547dcb2 100644
--- a/libavcodec/adx.h
+++ b/libavcodec/adx.h
@@ -43,8 +43,7 @@ typedef struct {
int channels;
ADXChannelState prev[2];
int header_parsed;
- unsigned char dec_temp[18*2];
- int in_temp;
+ int eof;
int cutoff;
int coeff[2];
} ADXContext;