mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-21 06:16:59 +00: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 34f821e448
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
25d4dcd474
commit
6b977edd82
@ -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…
Reference in New Issue
Block a user