changeset 22799:d07cc034ed66

Fix double close() in ve_vfw.c trivial patch by Gianluigi Tiesi <mplayer netfarm it>
author iive
date Sat, 24 Mar 2007 22:01:20 +0000
parents 522dddedd0a6
children da9729d2bdf8
files libmpcodecs/ve_vfw.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ve_vfw.c	Sat Mar 24 20:29:43 2007 +0000
+++ b/libmpcodecs/ve_vfw.c	Sat Mar 24 22:01:20 2007 +0000
@@ -131,7 +131,6 @@
       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;
       }