terminate keyframe string in edl output
authorGood Guy <good1.2guy@gmail.com>
Sun, 7 Oct 2018 22:00:24 +0000 (16:00 -0600)
committerGood Guy <good1.2guy@gmail.com>
Sun, 7 Oct 2018 22:00:24 +0000 (16:00 -0600)
cinelerra-5.1/cinelerra/keyframe.C

index fd7eaf847bce9fe13a55f0f26e36aa30b6e6bc23..faad855bec12fe610f6985c996ad930ff105b2fb 100644 (file)
@@ -71,7 +71,7 @@ void KeyFrame::copy(int64_t start, int64_t end, FileXML *file, int default_auto)
        file->append_tag();
 // Can't put newlines in because these would be reimported and resaved along
 // with new newlines.
-       char *data = (char*)xbuf->pos(0);
+       char *data = (char*)xbuf->cstr();
        file->append_data(data, strlen(data));
 
        file->tag.set_title((char*)"/KEYFRAME");