[MPlayer-cvslog] r22817 - trunk/libmpcodecs/ve_vfw.c

iive subversion at mplayerhq.hu
Sat Mar 24 23:01:20 CET 2007


Author: iive
Date: Sat Mar 24 23:01:20 2007
New Revision: 22817

Modified:
   trunk/libmpcodecs/ve_vfw.c

Log:
Fix double close() in ve_vfw.c
trivial patch by Gianluigi Tiesi <mplayer netfarm it> 


Modified: trunk/libmpcodecs/ve_vfw.c
==============================================================================
--- trunk/libmpcodecs/ve_vfw.c	(original)
+++ trunk/libmpcodecs/ve_vfw.c	Sat Mar 24 23:01:20 2007
@@ -131,7 +131,6 @@ mp_msg(MSGT_WIN32,MSGL_INFO,"\n");
       mp_msg(MSGT_WIN32,MSGL_ERR,"Compressor data %d bytes\n", st.st_size);
       if (!(temp_len = (unsigned int) ICSendMessage(encoder_hic, ICM_SETSTATE, (LPARAM) drvdata, (int) st.st_size))){
         mp_msg(MSGT_WIN32,MSGL_ERR,"ICSetState failed!\n");
-        fclose(fd);
         free(drvdata);
         return NULL;
       }



More information about the MPlayer-cvslog mailing list