[FFmpeg-cvslog] avfilter/drawutils: Fix depthb computation
Michael Niedermayer
git at videolan.org
Tue Jul 2 23:01:26 EEST 2024
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Tue Jun 11 22:53:14 2024 +0200| [34f821e44821804e1954ca6eb38269183978a62c] | committer: Michael Niedermayer
avfilter/drawutils: Fix depthb computation
Fixes: CID1496940 Logically dead code
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=34f821e44821804e1954ca6eb38269183978a62c
---
libavfilter/drawutils.c | 1 +
1 file changed, 1 insertion(+)
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)
More information about the ffmpeg-cvslog
mailing list