mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
windowscodecs: Fix calculation of GIF local color table size from decoder data.
This commit is contained in:
parent
8ec1008fc7
commit
fd0cbf9ebe
1 changed files with 1 additions and 1 deletions
|
@ -707,7 +707,7 @@ static HRESULT create_IMD_metadata_reader(GifFrameDecode *This, IWICMetadataRead
|
|||
/* local_color_table_flag */
|
||||
IMD_data.packed |= 1 << 7;
|
||||
/* local_color_table_size */
|
||||
IMD_data.packed |= This->frame->ImageDesc.ColorMap->BitsPerPixel;
|
||||
IMD_data.packed |= This->frame->ImageDesc.ColorMap->BitsPerPixel - 1;
|
||||
/* FIXME: sort_flag */
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue