summaryrefslogtreecommitdiff
path: root/src/stereo_picture_frame.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/stereo_picture_frame.cc')
-rw-r--r--src/stereo_picture_frame.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stereo_picture_frame.cc b/src/stereo_picture_frame.cc
index 855795eb..70e802d1 100644
--- a/src/stereo_picture_frame.cc
+++ b/src/stereo_picture_frame.cc
@@ -68,7 +68,7 @@ StereoPictureFrame::~StereoPictureFrame ()
* of the image, expressed as a power of two (pass 0 for no
* reduction).
*/
-shared_ptr<XYZImage>
+shared_ptr<OpenJPEGImage>
StereoPictureFrame::xyz_image (Eye eye, int reduce) const
{
switch (eye) {
@@ -78,7 +78,7 @@ StereoPictureFrame::xyz_image (Eye eye, int reduce) const
return decompress_j2k (const_cast<uint8_t*> (_buffer->Right.RoData()), _buffer->Right.Size(), reduce);
}
- return shared_ptr<XYZImage> ();
+ return shared_ptr<OpenJPEGImage> ();
}
uint8_t const *