[FFmpeg-cvslog] wmavoicedec: use the checked bitstream, reader

Michael Niedermayer git at videolan.org
Mon Jan 28 23:25:37 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Jan 28 23:12:24 2013 +0100| [3939b790f2eb1d747a1ca80c4db4e2a145812af4] | committer: Michael Niedermayer

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 at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3939b790f2eb1d747a1ca80c4db4e2a145812af4
---

 libavcodec/wmavoice.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/wmavoice.c b/libavcodec/wmavoice.c
index c3b6ab3..8dd3f25 100644
--- a/libavcodec/wmavoice.c
+++ b/libavcodec/wmavoice.c
@@ -25,8 +25,6 @@
  * @author Ronald S. Bultje <rsbultje at gmail.com>
  */
 
-#define UNCHECKED_BITSTREAM_READER 1
-
 #include <math.h>
 
 #include "libavutil/channel_layout.h"



More information about the ffmpeg-cvslog mailing list