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
0153a962
Commit
0153a962
authored
Oct 19, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Oct 21, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Use BOOL type where appropriate.
parent
44b2fd26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
jpegformat.c
dlls/windowscodecs/jpegformat.c
+11
-11
No files found.
dlls/windowscodecs/jpegformat.c
View file @
0153a962
...
...
@@ -773,13 +773,13 @@ typedef struct JpegEncoder {
struct
jpeg_compress_struct
cinfo
;
struct
jpeg_error_mgr
jerr
;
struct
jpeg_destination_mgr
dest_mgr
;
int
initialized
;
BOOL
initialized
;
int
frame_count
;
int
frame_initialized
;
int
started_compress
;
BOOL
frame_initialized
;
BOOL
started_compress
;
int
lines_written
;
int
frame_committed
;
int
committed
;
BOOL
frame_committed
;
BOOL
committed
;
UINT
width
,
height
;
double
xres
,
yres
;
const
jpeg_compress_format
*
format
;
...
...
@@ -1050,7 +1050,7 @@ static HRESULT WINAPI JpegEncoder_Frame_WritePixels(IWICBitmapFrameEncode *iface
pjpeg_start_compress
(
&
This
->
cinfo
,
TRUE
);
This
->
started_compress
=
1
;
This
->
started_compress
=
TRUE
;
}
row_size
=
This
->
format
->
bpp
/
8
*
This
->
width
;
...
...
@@ -1480,13 +1480,13 @@ HRESULT JpegEncoder_CreateInstance(IUnknown *pUnkOuter, REFIID iid, void** ppv)
This
->
IWICBitmapEncoder_iface
.
lpVtbl
=
&
JpegEncoder_Vtbl
;
This
->
IWICBitmapFrameEncode_iface
.
lpVtbl
=
&
JpegEncoder_FrameVtbl
;
This
->
ref
=
1
;
This
->
initialized
=
0
;
This
->
initialized
=
FALSE
;
This
->
frame_count
=
0
;
This
->
frame_initialized
=
0
;
This
->
started_compress
=
0
;
This
->
frame_initialized
=
FALSE
;
This
->
started_compress
=
FALSE
;
This
->
lines_written
=
0
;
This
->
frame_committed
=
0
;
This
->
committed
=
0
;
This
->
frame_committed
=
FALSE
;
This
->
committed
=
FALSE
;
This
->
width
=
This
->
height
=
0
;
This
->
xres
=
This
->
yres
=
0
.
0
;
This
->
format
=
NULL
;
...
...
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