summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/asset.h1
-rw-r--r--src/subtitle_asset.cc2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/asset.h b/src/asset.h
index c40ec91b..492f16be 100644
--- a/src/asset.h
+++ b/src/asset.h
@@ -25,6 +25,7 @@
#define LIBDCP_ASSET_H
#include <string>
+#include <list>
#include <boost/filesystem.hpp>
#include "types.h"
diff --git a/src/subtitle_asset.cc b/src/subtitle_asset.cc
index 9f1aa9d9..15ddb2a8 100644
--- a/src/subtitle_asset.cc
+++ b/src/subtitle_asset.cc
@@ -401,7 +401,7 @@ SubtitleAsset::write_xml ()
/* XXX: script, underlined, weight not supported */
bool first = true;
- bool italic;
+ bool italic = false;
Color color;
int size = 0;
Effect effect = NONE;