aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/cdxl.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-06-17 11:22:42 +0000
committerPaul B Mahol <onemda@gmail.com>2012-06-20 21:07:27 +0000
commitb2e2287c0461031e3a68ceb856394109d2a9e60b (patch)
treede34a3f1cd5a9886fc652e79d94c7d1de3a49a42 /libavcodec/cdxl.c
parentde0587739011b7636743251a86d48bcd10ab7c22 (diff)
downloadffmpeg-b2e2287c0461031e3a68ceb856394109d2a9e60b.tar.gz
cdxl: disable checked bitstream reader
Overreads should not be possible. Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/cdxl.c')
-rw-r--r--libavcodec/cdxl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/cdxl.c b/libavcodec/cdxl.c
index 37018912e9..abf4a38caf 100644
--- a/libavcodec/cdxl.c
+++ b/libavcodec/cdxl.c
@@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#define UNCHECKED_BITSTREAM_READER 1
+
#include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h"
#include "avcodec.h"