mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
9e9be5a20c
commit
a6defd1f5b
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue