projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add some asserts; sws_getContext() will fail if the image width or height are 0.
[dcpomatic.git]
/
src
/
lib
/
rgba.cc
diff --git
a/src/lib/rgba.cc
b/src/lib/rgba.cc
index 4d2c28085eb74fa4a2dc8b8b58c45fdbf746f4e8..2e6a4fab632aa6e64c251fba52ac51f899d44dc0 100644
(file)
--- a/
src/lib/rgba.cc
+++ b/
src/lib/rgba.cc
@@
-20,10
+20,10
@@
#include "rgba.h"
-#include
"warnings.h"
-
DCPOMATIC
_DISABLE_WARNINGS
+#include
<dcp/warnings.h>
+
LIBDCP
_DISABLE_WARNINGS
#include <libxml++/libxml++.h>
-
DCPOMATIC
_ENABLE_WARNINGS
+
LIBDCP
_ENABLE_WARNINGS
#include <boost/lexical_cast.hpp>