avfilter/drawutils: Fix depthb computation

Fixes: CID1496940 Logically dead code

Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2024-06-11 22:53:14 +02:00
parent aab0c344c5
commit 34f821e448
No known key found for this signature in database
GPG Key ID: B18E8928B3948D64

View File

@ -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)