mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-09-19 12:56:40 +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>
This commit is contained in:
parent
aab0c344c5
commit
34f821e448
@ -61,6 +61,7 @@ int ff_fill_rgba_map(uint8_t *rgba_map, enum AVPixelFormat pix_fmt)
|
|||||||
|
|
||||||
had0 |= pos == 0;
|
had0 |= pos == 0;
|
||||||
rgba_map[i] = pos;
|
rgba_map[i] = pos;
|
||||||
|
depthb = db;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (desc->nb_components == 3)
|
if (desc->nb_components == 3)
|
||||||
|
Loading…
Reference in New Issue
Block a user