int fd = ms_time < config.ms_time ? -1 : open(filename_png, O_RDWR);
if( fd < 0 ) { // file does not exist, export it
char command[BCTEXTLEN];
- sprintf(command,
+ snprintf(command, sizeof(command),
"inkscape --without-gui --export-background=0x000000 "
"--export-background-opacity=0 -d %f %s --export-png=%s",
config.dpi, config.svg_file, filename_png);
close(fd);
if( ofrm && ofrm->get_color_model() != output->get_color_model() ) {
VFrame *vfrm = new VFrame(ofrm->get_w(), ofrm->get_h(),
- output->get_color_model());
+ output->get_color_model(), 0);
vfrm->transfer_from(ofrm);
delete ofrm; ofrm = vfrm;
}