Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
219b987f
Commit
219b987f
authored
Oct 11, 2011
by
Vincent Povirk
Committed by
Alexandre Julliard
Oct 13, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Use a smaller magic number to detect JPEG files.
parent
78e6287f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
regsvr.c
dlls/windowscodecs/regsvr.c
+2
-2
No files found.
dlls/windowscodecs/regsvr.c
View file @
219b987f
...
...
@@ -720,7 +720,7 @@ static struct decoder_pattern const ico_patterns[] = {
{
0
}
};
static
const
BYTE
jpeg_magic
[]
=
{
0xff
,
0xd8
,
0xff
,
0xe0
};
static
const
BYTE
jpeg_magic
[]
=
{
0xff
,
0xd8
};
static
GUID
const
*
const
jpeg_formats
[]
=
{
&
GUID_WICPixelFormat24bppBGR
,
...
...
@@ -730,7 +730,7 @@ static GUID const * const jpeg_formats[] = {
};
static
struct
decoder_pattern
const
jpeg_patterns
[]
=
{
{
4
,
0
,
jpeg_magic
,
mask_all
,
0
},
{
2
,
0
,
jpeg_magic
,
mask_all
,
0
},
{
0
}
};
...
...
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