diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-12-18 06:20:41 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-12-18 06:23:28 +0400 |
commit | 06192e42fd925a2b1c1850a112038180479ddac4 (patch) | |
tree | 2f027c1c00b5a40e330a625ca08c1df35a9f72b6 /libavcodec/mpeg4videodec.c | |
parent | 8e7776036b11bf54bc8668eda3db1852f92a37fa (diff) |
mpeg4: disable checked bitstream reader, overreads are not possible.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mpeg4videodec.c')
-rw-r--r-- | libavcodec/mpeg4videodec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c index e620f75687..de5e862827 100644 --- a/libavcodec/mpeg4videodec.c +++ b/libavcodec/mpeg4videodec.c @@ -20,6 +20,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#define UNCHECKED_BITSTREAM_READER 1 + #include "libavutil/opt.h" #include "mpegvideo.h" #include "mpeg4video.h" |