Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
abd5ea0a
Commit
abd5ea0a
authored
13 years ago
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a bug which caused multiply defined symbol errors during linking
if the PNG saving routine was #included.
parent
7e8af32b
master
v19.17
v19.16
v19.15
v19.14
v19.13
v19.12
v19.11
v19.10
v19.9
v19.8
v19.7
v19.6
v19.5
v19.4
v19.3
v19.2
v19.1
v19.0
v18.18
v18.17
v18.16
v18.15
v18.14
v18.13
v18.12
v18.11
v18.10
v18.9
v18.8
v18.7
v18.6
v18.5
v18.4
v18.3
v18.2
v18.1
v18.0
v17.49
v17.48
v17.47
v17.46
v17.45
v17.44
v17.43
v17.42
v17.41
before_dnn_serialization_cleanup
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
save_png.h
dlib/image_saver/save_png.h
+2
-2
No files found.
dlib/image_saver/save_png.h
View file @
abd5ea0a
...
...
@@ -21,11 +21,11 @@ namespace dlib
#ifdef DLIB_PNG_SUPPORT
// Don't do anything when libpng calls us to tell us about an error. Just return to
// our own code and throw an exception (at the long jump target).
void
png_reader_user_error_fn_silent
(
png_structp
png_struct
,
png_const_charp
)
inline
void
png_reader_user_error_fn_silent
(
png_structp
png_struct
,
png_const_charp
)
{
longjmp
(
png_jmpbuf
(
png_struct
),
1
);
}
void
png_reader_user_warning_fn_silent
(
png_structp
,
png_const_charp
)
inline
void
png_reader_user_warning_fn_silent
(
png_structp
,
png_const_charp
)
{
}
#endif
...
...
This diff is collapsed.
Click to expand it.
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