Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
b9b06bc2
Commit
b9b06bc2
authored
Aug 17, 2009
by
Vincent Povirk
Committed by
Alexandre Julliard
Aug 18, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Register the GIF decoder.
parent
0c4a5620
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
1 deletion
+26
-1
regsvr.c
dlls/windowscodecs/regsvr.c
+26
-1
No files found.
dlls/windowscodecs/regsvr.c
View file @
b9b06bc2
...
...
@@ -759,8 +759,9 @@ static struct regsvr_coclass const coclass_list[] = {
/***********************************************************************
* decoder list
*/
static
const
BYTE
mask_all
[]
=
{
0xff
,
0xff
,
0xff
,
0xff
,
0xff
,
0xff
};
static
const
BYTE
bmp_magic
[]
=
{
0x42
,
0x4d
};
static
const
BYTE
mask_all
[]
=
{
0xff
,
0xff
};
static
GUID
const
*
const
bmp_formats
[]
=
{
&
GUID_WICPixelFormat1bppIndexed
,
...
...
@@ -780,6 +781,20 @@ static struct decoder_pattern const bmp_patterns[] = {
{
0
}
};
static
const
BYTE
gif87a_magic
[
6
]
=
"GIF87a"
;
static
const
BYTE
gif89a_magic
[
6
]
=
"GIF89a"
;
static
GUID
const
*
const
gif_formats
[]
=
{
&
GUID_WICPixelFormat8bppIndexed
,
NULL
};
static
struct
decoder_pattern
const
gif_patterns
[]
=
{
{
6
,
0
,
gif87a_magic
,
mask_all
,
0
},
{
6
,
0
,
gif89a_magic
,
mask_all
,
0
},
{
0
}
};
static
struct
regsvr_decoder
const
decoder_list
[]
=
{
{
&
CLSID_WICBmpDecoder
,
"The Wine Project"
,
...
...
@@ -791,6 +806,16 @@ static struct regsvr_decoder const decoder_list[] = {
bmp_formats
,
bmp_patterns
},
{
&
CLSID_WICGifDecoder
,
"The Wine Project"
,
"GIF Decoder"
,
"1.0.0.0"
,
&
GUID_VendorMicrosoft
,
"image/gif"
,
".gif"
,
gif_formats
,
gif_patterns
},
{
NULL
}
/* list terminator */
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment