summaryrefslogtreecommitdiff
path: root/src/lib/image.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-06-07 21:27:40 +0100
committerCarl Hetherington <cth@carlh.net>2017-06-07 21:27:40 +0100
commit2d9f569c146b391159f362c854457ce1facac1e8 (patch)
treea89e9932ed139854210341b13bdd9903cae07981 /src/lib/image.h
parent3458d0ec34f08a8eeef9b158f26a476a18548353 (diff)
Fix crash when alpha-blending subtitles onto YUV420 images.
Diffstat (limited to 'src/lib/image.h')
-rw-r--r--src/lib/image.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/image.h b/src/lib/image.h
index fd5adb076..9a5a7dae8 100644
--- a/src/lib/image.h
+++ b/src/lib/image.h
@@ -77,6 +77,8 @@ public:
return _pixel_format;
}
+ static boost::shared_ptr<Image> ensure_aligned (boost::shared_ptr<Image> image);
+
private:
friend struct pixel_formats_test;