aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/drawutils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2024-06-11 22:53:14 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2024-07-02 21:57:24 +0200
commit34f821e44821804e1954ca6eb38269183978a62c (patch)
tree25c62cd4539eabf84e8b45e805a90ab33ce0d656 /libavfilter/drawutils.c
parentaab0c344c5d1d5b1020f87c62da3e523161a660f (diff)
downloadffmpeg-34f821e44821804e1954ca6eb38269183978a62c.tar.gz
avfilter/drawutils: Fix depthb computation
Fixes: CID1496940 Logically dead code Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter/drawutils.c')
-rw-r--r--libavfilter/drawutils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/drawutils.c b/libavfilter/drawutils.c
index 1081938d86..95525d38b4 100644
--- a/libavfilter/drawutils.c
+++ b/libavfilter/drawutils.c
@@ -61,6 +61,7 @@ int ff_fill_rgba_map(uint8_t *rgba_map, enum AVPixelFormat pix_fmt)
had0 |= pos == 0;
rgba_map[i] = pos;
+ depthb = db;
}
if (desc->nb_components == 3)