# HG changeset patch # User tom@acousticscale.org # Date 1341906269 0 # Node ID 0986e63dd1d7c14c14d9efdc376503ab075986d8 # Parent 1875194aab99ef47f88e411c4199898e59616a78 - Add limits.h - Fix a compile warning. diff -r 1875194aab99 -r 0986e63dd1d7 src/Modules/Output/Graphics/Devices/GraphicsOutputDeviceMovie.cc --- a/src/Modules/Output/Graphics/Devices/GraphicsOutputDeviceMovie.cc Tue Jul 10 07:39:24 2012 +0000 +++ b/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.")); }