summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-24 22:01:20 +0000
committeriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-24 22:01:20 +0000
commit7bdf397b38f03902b13416702cabc94fbe174e4b (patch)
tree1980e7c0ff2b539c65fe224f3b669817490f122e
parent1cab6eae95e7180d8625b9055b2efdb54bbac10a (diff)
downloadmpv-7bdf397b38f03902b13416702cabc94fbe174e4b.tar.bz2
mpv-7bdf397b38f03902b13416702cabc94fbe174e4b.tar.xz
Fix double close() in ve_vfw.c
trivial patch by Gianluigi Tiesi <mplayer netfarm it> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22817 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libmpcodecs/ve_vfw.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libmpcodecs/ve_vfw.c b/libmpcodecs/ve_vfw.c
index 77d1a45270..a59ab41504 100644
--- a/libmpcodecs/ve_vfw.c
+++ b/libmpcodecs/ve_vfw.c
@@ -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;
}