From fe342c90022bff98669b5cc96817cafe98c4e768 Mon Sep 17 00:00:00 2001 From: Good Guy Date: Sun, 7 Oct 2018 16:00:24 -0600 Subject: [PATCH] terminate keyframe string in edl output --- cinelerra-5.1/cinelerra/keyframe.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.26.2