summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-12-10 18:24:21 +0000
committerCarl Hetherington <cth@carlh.net>2015-12-10 18:24:21 +0000
commitb72043d907cdb7d6a49acab61338811ca81411f2 (patch)
treea8efb60372c463680ec609b804d0ee2be72bcdf0 /src
parent6648949ce34a6fc2b3abe2f1c28848fe6e59dcbd (diff)
Remove duplicate conversion to XYZ.
Diffstat (limited to 'src')
-rw-r--r--src/lib/dcp_video.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/dcp_video.cc b/src/lib/dcp_video.cc
index 7987f92b4..26113a184 100644
--- a/src/lib/dcp_video.cc
+++ b/src/lib/dcp_video.cc
@@ -121,8 +121,6 @@ DCPVideo::convert_to_xyz (shared_ptr<const PlayerVideo> frame, dcp::NoteHandler
Data
DCPVideo::encode_locally (dcp::NoteHandler note)
{
- shared_ptr<dcp::OpenJPEGImage> xyz = convert_to_xyz (_frame, note);
-
Data enc = compress_j2k (
convert_to_xyz (_frame, note),
_j2k_bandwidth,