X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fkeyframe.C;h=faad855bec12fe610f6985c996ad930ff105b2fb;hb=26f3c4335351a3938db78303c57a2ba6551a2a10;hp=fd7eaf847bce9fe13a55f0f26e36aa30b6e6bc23;hpb=b2eb290b3f6e5c233393017aa152e67c76243130;p=goodguy%2Fhistory.git 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");