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
2e27be37
Commit
2e27be37
authored
Oct 10, 2011
by
Andrew Talbot
Committed by
Alexandre Julliard
Oct 11, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Mark some fall-throughs in switch statements.
parent
fe6140e0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
pngformat.c
dlls/windowscodecs/pngformat.c
+1
-0
tiffformat.c
dlls/windowscodecs/tiffformat.c
+1
-0
No files found.
dlls/windowscodecs/pngformat.c
View file @
2e27be37
...
...
@@ -364,6 +364,7 @@ static HRESULT WINAPI PngDecoder_Initialize(IWICBitmapDecoder *iface, IStream *p
case
PNG_COLOR_TYPE_GRAY_ALPHA
:
/* WIC does not support grayscale alpha formats so use RGBA */
ppng_set_gray_to_rgb
(
This
->
png_ptr
);
/* fall through */
case
PNG_COLOR_TYPE_RGB_ALPHA
:
This
->
bpp
=
bit_depth
*
4
;
switch
(
bit_depth
)
...
...
dlls/windowscodecs/tiffformat.c
View file @
2e27be37
...
...
@@ -295,6 +295,7 @@ static HRESULT tiff_get_decode_info(TIFF *tiff, tiff_decode_info *decode_info)
{
case
0
:
/* WhiteIsZero */
decode_info
->
invert_grayscale
=
1
;
/* fall through */
case
1
:
/* BlackIsZero */
if
(
samples
!=
1
)
{
...
...
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