mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avfilter/drawutils: Fix depthb computation
Fixes: CID1496940 Logically dead code Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 34f821e44821804e1954ca6eb38269183978a62c) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
09806744cc
commit
7e2396e890
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user