diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-02-07 23:28:22 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-02-08 00:22:49 +0100 |
commit | 64278039e55ffc88d231a8d760ecc257a120760a (patch) | |
tree | f15f144d513fec0a9cf9c518d7e06eaf15e13da1 /libavcodec/hevc.h | |
parent | 1a3ed056c523b4670e192301be15dbc521ec8353 (diff) | |
download | ffmpeg-64278039e55ffc88d231a8d760ecc257a120760a.tar.gz |
avcodec/hevc: Simplify get_qPy_pred()
Fixes use of uninitialized memory
Fixes: 93728afd9aa074ba14a09bfd93a632fd-asan_static-oob_124a17d_1445_cov_1021181966_DBLK_D_VIXS_1.bit
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/hevc.h')
-rw-r--r-- | libavcodec/hevc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h index d419ccb1b3..420b310be5 100644 --- a/libavcodec/hevc.h +++ b/libavcodec/hevc.h @@ -723,6 +723,8 @@ typedef struct HEVCLocalContext { int8_t qp_y; int8_t curr_qp_y; + int qPy_pred; + TransformUnit tu; uint8_t ctb_left_flag; |