Replace aligned bool with enum Alignment.
[dcpomatic.git] / src / lib / render_text.cc
index 7bb7d6b456990d2b12f21f1a4ec343d8534290d2..96b832c577cb036f119dbfba4ffc675ede63f7f4 100644 (file)
@@ -96,7 +96,7 @@ static shared_ptr<Image>
 create_image (dcp::Size size)
 {
        /* FFmpeg BGRA means first byte blue, second byte green, third byte red, fourth byte alpha */
-       auto image = make_shared<Image>(AV_PIX_FMT_BGRA, size, false);
+       auto image = make_shared<Image>(AV_PIX_FMT_BGRA, size, Image::Alignment::COMPACT);
        image->make_black ();
        return image;
 }