aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dca_lbr.c
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/dca_lbr.c
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/dca_lbr.c')
-rw-r--r--libavcodec/dca_lbr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/dca_lbr.c b/libavcodec/dca_lbr.c
index f116ab9a02..342603c7d4 100644
--- a/libavcodec/dca_lbr.c
+++ b/libavcodec/dca_lbr.c
@@ -18,7 +18,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#define UNCHECKED_BITSTREAM_READER 1
#define BITSTREAM_READER_LE
#include "libavutil/channel_layout.h"