X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_ffmpeg%2Fmptr_ffmpeg.cpp;h=3a1646f43bb698aa767cb9eca4d5319d43ead8ff;hb=5ddcf36f04cfbd10fabda4e3c5633cb27cdd4c0a;hp=3fa407685dd154b85774f91c69fd7667f79a6476;hpb=51503132a4e423e260cf9297ddd7d49d4fdff85c;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_ffmpeg/mptr_ffmpeg.cpp b/synfig-core/trunk/src/modules/mod_ffmpeg/mptr_ffmpeg.cpp index 3fa4076..3a1646f 100644 --- a/synfig-core/trunk/src/modules/mod_ffmpeg/mptr_ffmpeg.cpp +++ b/synfig-core/trunk/src/modules/mod_ffmpeg/mptr_ffmpeg.cpp @@ -60,15 +60,15 @@ ffmpeg_mptr::seek_to(int frame) { if(file) { - pclose(file); + pclose(file); } string command; - + command=strprintf("ffmpeg -i \"%s\" -an -f image2pipe -vcodec ppm -\n",filename.c_str()); - + file=popen(command.c_str(),"r"); - + if(!file) { cerr<<"Unable to open pipe to ffmpeg"<