mirror of
https://github.com/mpv-player/mpv
synced 2025-01-01 04:36:24 +01:00
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
This commit is contained in:
parent
1cab6eae95
commit
7bdf397b38
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user