Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictorien Le Couviour--Tuffet <victorien@videolan.org>2021-09-07 16:23:03 +0300
committerVictorien Le Couviour--Tuffet <victorien@videolan.org>2021-09-07 18:13:41 +0300
commit159215a82da88ca6c511194c8188e9df7a193998 (patch)
tree38dd86ce928a5d8a227596da6091e24f6bad21cc /src/internal.h
parentcfc04e1e0c799c2627e59f701234c2138e1e02bc (diff)
Fix lr_lpf_line re-allocation check
Credit to Oss-Fuzz.
Diffstat (limited to 'src/internal.h')
-rw-r--r--src/internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/internal.h b/src/internal.h
index 6fe915d..c708a1a 100644
--- a/src/internal.h
+++ b/src/internal.h
@@ -272,7 +272,8 @@ struct Dav1dFrameContext {
Av1Restoration *lr_mask;
int top_pre_cdef_toggle;
int mask_sz /* w*h */, lr_mask_sz, cdef_line_sz[2] /* stride */;
- int lr_line_sz, re_sz /* h */;
+ size_t lr_plane_sz; /* w*sbh*4*is_sb128 if n_tc > 1, else w*12 */
+ int re_sz /* h */;
ALIGN(Av1FilterLUT lim_lut, 16);
int last_sharpness;
uint8_t lvl[8 /* seg_id */][4 /* dir */][8 /* ref */][2 /* is_gmv */];