Fix a warning and add a missing include.
authorCarl Hetherington <cth@carlh.net>
Fri, 26 Oct 2012 18:13:35 +0000 (19:13 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 26 Oct 2012 18:13:35 +0000 (19:13 +0100)
src/asset.h
src/subtitle_asset.cc

index c40ec91b2483947c09f06615023373d0cb0f51c4..492f16be822e0a9f7125d7368dd8f31ad401ae67 100644 (file)
@@ -25,6 +25,7 @@
 #define LIBDCP_ASSET_H
 
 #include <string>
+#include <list>
 #include <boost/filesystem.hpp>
 #include "types.h"
 
index 9f1aa9d98bd0f6ed7994161cc461e6f7ab84d1f7..15ddb2a8fd57f6711986b50a0978c4dd6cde3615 100644 (file)
@@ -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;