# HG changeset patch # User tom@acousticscale.org # Date 1341906269 0 # Node ID 5c607bcfa89f7ba3133cb37308bf6e17c1e77154 # Parent f56d2eedd878122108abcf4c2d538f6e0e6a135c - Add limits.h - Fix a compile warning. diff -r f56d2eedd878 -r 5c607bcfa89f trunk/src/Modules/Output/Graphics/Devices/GraphicsOutputDeviceMovie.cc --- a/trunk/src/Modules/Output/Graphics/Devices/GraphicsOutputDeviceMovie.cc Tue Jul 10 07:39:24 2012 +0000 +++ b/trunk/src/Modules/Output/Graphics/Devices/GraphicsOutputDeviceMovie.cc Tue Jul 10 07:44:29 2012 +0000 @@ -45,6 +45,7 @@ #endif #include #include +#include #include "Modules/Output/Graphics/Devices/GraphicsOutputDeviceMovie.h" @@ -168,10 +169,10 @@ snprintf(sCmdLine, sizeof(sCmdLine)/sizeof(sCmdLine[0]), "%s -y -i \"%s\" -r %.2f -i \"%s%%06d.png\" " "-sameq -r %.2f -ar 44100 -acodec pcm_s16le %s \"%s\"", - sffmpegPath, sound_filename_.c_str(), frame_rate, directory_.c_str(), - frame_rate, sCodecOptions, movie_filename_.c_str()); - printf(sCmdLine); - printf("\n"); + sffmpegPath, sound_filename_.c_str(), frame_rate, directory_.c_str(), + frame_rate, sCodecOptions, movie_filename_.c_str()); + printf("%s", sCmdLine); + printf("\n"); if (system(sCmdLine)) { LOG_ERROR(_T("Couldn't create movie output.")); }