summaryrefslogtreecommitdiff
path: root/libavcodec/wmavoice.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-28 23:12:24 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-28 23:13:22 +0100
commit3939b790f2eb1d747a1ca80c4db4e2a145812af4 (patch)
treea52d884fb77190abe577c1102aba1e3f68551c3f /libavcodec/wmavoice.c
parent14c8ee00ffd9d45e6e0c6f11a957ce7e56f7eb3a (diff)
wmavoicedec: use the checked bitstream, reader
Fixes out of array reads Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/wmavoice.c')
-rw-r--r--libavcodec/wmavoice.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/wmavoice.c b/libavcodec/wmavoice.c
index c3b6ab3b5f..8dd3f25052 100644
--- a/libavcodec/wmavoice.c
+++ b/libavcodec/wmavoice.c
@@ -25,8 +25,6 @@
* @author Ronald S. Bultje <rsbultje@gmail.com>
*/
-#define UNCHECKED_BITSTREAM_READER 1
-
#include <math.h>
#include "libavutil/channel_layout.h"