[xiph-commits] r16402 - trunk/ffmpeg2theora/src

oggk at svn.xiph.org oggk at svn.xiph.org
Sun Aug 2 12:30:12 PDT 2009


Author: oggk
Date: 2009-08-02 12:30:11 -0700 (Sun, 02 Aug 2009)
New Revision: 16402

Modified:
   trunk/ffmpeg2theora/src/ffmpeg2theora.c
Log:
fclose what was fopened (or tmpfiled, as the case may be)



Modified: trunk/ffmpeg2theora/src/ffmpeg2theora.c
===================================================================
--- trunk/ffmpeg2theora/src/ffmpeg2theora.c	2009-08-02 19:19:10 UTC (rev 16401)
+++ trunk/ffmpeg2theora/src/ffmpeg2theora.c	2009-08-02 19:30:11 UTC (rev 16402)
@@ -2524,6 +2524,8 @@
 
     if (*pidfile_name)
         unlink(pidfile_name);
+    if (info.twopass_file)
+        fclose(info.twopass_file);
 
     if (info.frontend)
         fprintf(info.frontend, "{\"result\": \"ok\"}\n");



More information about the commits mailing list