From: Good Guy Date: Sun, 7 Oct 2018 22:00:24 +0000 (-0600) Subject: terminate keyframe string in edl output X-Git-Url: https://cinelerra-gg.org/git/?a=commitdiff_plain;h=fe342c90022bff98669b5cc96817cafe98c4e768;p=goodguy%2Fhistory.git terminate keyframe string in edl output --- diff --git a/cinelerra-5.1/cinelerra/keyframe.C b/cinelerra-5.1/cinelerra/keyframe.C index fd7eaf84..faad855b 100644 --- a/cinelerra-5.1/cinelerra/keyframe.C +++ b/cinelerra-5.1/cinelerra/keyframe.C @@ -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");