Commit 5bec036c authored by Hannes Domani's avatar Hannes Domani Committed by Jean-Baptiste Kempf

Don't close any handle if callback functions are used

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 5fd2b38c
......@@ -406,6 +406,11 @@ int dvdcss_open_device ( dvdcss_t dvdcss )
int dvdcss_close_device ( dvdcss_t dvdcss )
{
if( dvdcss->p_stream )
{
return 0;
}
#if defined( _WIN32 )
/* Free readv temporary buffer */
free( dvdcss->p_readv_buffer );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment