Remove unused define.
[dcpomatic.git] / src / lib / dcp_video.cc
index 5879d6be68da23cca44f1ecd85d4d137d45cd118..8eb76fdd63670bebce5b09156f7900e8b8b9e6d2 100644 (file)
@@ -71,9 +71,6 @@ using namespace boost::placeholders;
 #endif
 
 
-#define DCI_COEFFICENT (48.0 / 52.37)
-
-
 /** Construct a DCP video frame.
  *  @param frame Input frame.
  *  @param index Index of the frame within the DCP.
@@ -229,7 +226,7 @@ DCPVideo::encode_remotely (EncodeServerDescription serv, int timeout) const
 
                /* Send XML metadata */
                auto xml = doc.write_to_string ("UTF-8");
-               socket->write (xml.length() + 1);
+               socket->write(xml.bytes() + 1);
                socket->write ((uint8_t *) xml.c_str(), xml.bytes() + 1);
 
                /* Send binary data */