Commit a6defd1f authored by Michael Niedermayer's avatar Michael Niedermayer Committed by Vittorio Giovara

hevc_cabac: decrease CABAC_MAX_BIN

Prevents shifts with undefined behavior, as no syntax element has a valid
value greater than 1 << 31.

Bug-Id: CID 1206635
parent 9e9be5a2
......@@ -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