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
This commit is contained in:
Michael Niedermayer 2014-11-09 08:48:38 +01:00 committed by Vittorio Giovara
parent 9e9be5a20c
commit a6defd1f5b
1 changed files with 1 additions and 1 deletions

View File

@ -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.