bunch-o compiler bitch'n
[goodguy/history.git] / cinelerra-5.1 / plugins / svg / svg.C
index 842161aef515a863ec2597a2c5b5ec324373c2d6..af4a79d467df526af7fd7f33a77117c1ba3affaa 100644 (file)
@@ -178,7 +178,7 @@ int SvgMain::process_realtime(VFrame *input, VFrame *output)
                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);