diff options
author | foo86 <foobaz86@gmail.com> | 2016-05-13 12:48:30 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-05-31 11:45:48 -0300 |
commit | d1f558b3628d3ab99fd93a98b5758ef1be45a5da (patch) | |
tree | 56a4b6407998349ca54d12da5ff32dfcc9c37f0f /libavcodec/dca_lbr.c | |
parent | d3463912c196a9814a0144ce7db7e38c11948c7d (diff) | |
download | ffmpeg-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.c | 1 |
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" |