diff options
author | Michael Niedermayer <[email protected]> | 2014-02-07 23:28:22 +0100 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2014-02-23 16:44:37 +0100 |
commit | 0909b8acf8f76edb5a96d2e9a68b7bb78bc456ed (patch) | |
tree | e4c7dda19b34dc12517d50e471c04e2935b9d7c1 /libavcodec/hevc.h | |
parent | 2368d08e701acf7942bf6d70a40a3e70186199ea (diff) |
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 <[email protected]>
(cherry picked from commit 64278039e55ffc88d231a8d760ecc257a120760a)
Conflicts:
libavcodec/hevc_filter.c
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 0d4f3e6373..1a115cf40e 100644 --- a/libavcodec/hevc.h +++ b/libavcodec/hevc.h @@ -733,6 +733,8 @@ typedef struct HEVCLocalContext { int8_t qp_y; int8_t curr_qp_y; + int qPy_pred; + TransformUnit tu; uint8_t ctb_left_flag; |