Fix tests again on Windows.
[libdcp.git] / src / mono_picture_asset_writer.cc
index dd29c19afda3f73e91a6e840a4850d3caa2da883..7fd58114e737e1d0c5d58cc1e9fd6463458d8b9c 100644 (file)
@@ -106,6 +106,8 @@ MonoPictureAssetWriter::write (uint8_t const * data, int size)
                boost::throw_exception (MiscError ("could not parse J2K frame"));
        }
 
+       _state->frame_buffer.PlaintextOffset(0);
+
        uint64_t const before_offset = _state->mxf_writer.Tell ();
 
        string hash;