提交 81206683 编写于 作者: M 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: NMichael Niedermayer <michaelni@gmx.at>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册