mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-11-17 18:02:23 +03:00
Set alpha of palettes to 0xff.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
1 parent
e91946ed23
commit
dbfdb288c1
4 files changed
+12
-11
No files matched your search
+2
-1
@@ -429,7 +429,8 @@ static int tiff_decode_tag(TiffContext *s, const uint8_t *start, const uint8_t *
|
||||
bp = buf + count / 3 * off * 2;
|
||||
off = (type_sizes[type] - 1) << 3;
|
||||
for(i = 0; i < count / 3; i++){
|
||||
j = (tget(&rp, type, s->le) >> off) << 16;
|
||||
j = 0xff << 24;
|
||||
j |= (tget(&rp, type, s->le) >> off) << 16;
|
||||
j |= (tget(&gp, type, s->le) >> off) << 8;
|
||||
j |= tget(&bp, type, s->le) >> off;
|
||||
pal[i] = j;
|
||||
|
||||
Reference in new issue
Block a user