aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dcadec.h
diff options
context:
space:
mode:
authorfoo86 <foobaz86@gmail.com>2016-05-13 12:48:30 +0300
committerJames Almer <jamrial@gmail.com>2016-05-31 11:45:48 -0300
commitd1f558b3628d3ab99fd93a98b5758ef1be45a5da (patch)
tree56a4b6407998349ca54d12da5ff32dfcc9c37f0f /libavcodec/dcadec.h
parentd3463912c196a9814a0144ce7db7e38c11948c7d (diff)
downloadffmpeg-d1f558b3628d3ab99fd93a98b5758ef1be45a5da.tar.gz
avcodec/dca: require checked bitstream reader
Remove half-working attempt at supporting unchecked bitstream reader by always copying input data into intermediate buffer with large amount of padding at the end. Convert LBR decoder to checked bitstream reader. Convert dcadec_decode_frame() to parse input data directly if possible. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/dcadec.h')
-rw-r--r--libavcodec/dcadec.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/dcadec.h b/libavcodec/dcadec.h
index 85283326e7..456f3c433b 100644
--- a/libavcodec/dcadec.h
+++ b/libavcodec/dcadec.h
@@ -34,8 +34,6 @@
#include "dca_xll.h"
#include "dca_lbr.h"
-#define DCA_BUFFER_PADDING_SIZE 1024
-
#define DCA_PACKET_CORE 0x01
#define DCA_PACKET_EXSS 0x02
#define DCA_PACKET_XLL 0x04