Skip to content
Snippets Groups Projects
Commit 81206683 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avcodec/hevc_cabac: decrease CABAC_MAX_BIN


Prevents shifts with undefined behavior

Fixes CID1206634
Fixes CID1206635
Fixed CID1206636

Reviewed-by: smarter
Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 096de451
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment