mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-17 04:17:05 +00:00
avcodec/hevc_cabac: decrease CABAC_MAX_BIN
Prevents shifts with undefined behavior Fixes CID1206634 Fixes CID1206635 Fixed CID1206636 Reviewed-by: smarter Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
096de451b0
commit
8120668351
@ -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
Block a user