Browse Source

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>
tags/n1.2
Michael Niedermayer 13 years ago
parent
commit
3939b790f2
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      libavcodec/wmavoice.c

+ 0
- 2
libavcodec/wmavoice.c View File

@@ -25,8 +25,6 @@
* @author Ronald S. Bultje <rsbultje@gmail.com>
*/

#define UNCHECKED_BITSTREAM_READER 1

#include <math.h>

#include "libavutil/channel_layout.h"


Loading…
Cancel
Save