Commit 81206683 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/hevc_cabac: decrease CABAC_MAX_BIN

Prevents shifts with undefined behavior

Fixes CID1206634
Fixes CID1206635
Fixed CID1206636

Reviewed-by: smarter
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 096de451
......@@ -27,7 +27,7 @@
#include "cabac_functions.h"
#include "hevc.h"
#define CABAC_MAX_BIN 100
#define CABAC_MAX_BIN 31
/**
* number of bin by SyntaxElement.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment