ffmpeg | branch: master | Michael Niedermayer <mich...@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 <mich...@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)

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to