#include <dcp/openjpeg_image.h>
#include <dcp/rgb_xyz.h>
#include <dcp/colour_matrix.h>
+#include <openjpeg.h>
#include <libxml++/libxml++.h>
#include <boost/asio.hpp>
#include <boost/thread.hpp>
{
shared_ptr<dcp::OpenJPEGImage> xyz;
- shared_ptr<Image> image = frame->image (AV_PIX_FMT_RGB48LE, note);
+ shared_ptr<Image> image = frame->image (note);
if (frame->colour_conversion()) {
xyz = dcp::rgb_to_xyz (
image->data()[0],