Use a struct rather than a std::pair as the return type from ImageProxy::image.
[dcpomatic.git] / src / lib / image_examiner.cc
index b9ef89865163e17e4622f04bfdb1b85d06cedef7..6586a0d09bc5ad10ce09660a14d159ce5c695f6f 100644 (file)
@@ -64,7 +64,7 @@ ImageExaminer::ImageExaminer (shared_ptr<const Film> film, shared_ptr<const Imag
                delete[] buffer;
        } else {
                FFmpegImageProxy proxy(content->path(0));
-               _video_size = proxy.image().first->size();
+               _video_size = proxy.image().image->size();
        }
 
        if (content->still ()) {