[vlc-devel] commit: More logical closing sequence (d3d) (Laurent Aimar )
git version control
git at videolan.org
Mon Oct 19 20:21:07 CEST 2009
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Oct 12 22:32:21 2009 +0200| [4bdf4fd05cf7e1a23d76172419125b84c0e22627] | committer: Laurent Aimar
More logical closing sequence (d3d)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4bdf4fd05cf7e1a23d76172419125b84c0e22627
---
modules/video_output/msw/direct3d.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/video_output/msw/direct3d.c b/modules/video_output/msw/direct3d.c
index d639bb7..e2b91b2 100644
--- a/modules/video_output/msw/direct3d.c
+++ b/modules/video_output/msw/direct3d.c
@@ -225,10 +225,10 @@ static void CloseVideo( vlc_object_t *p_this )
{
vout_thread_t * p_vout = (vout_thread_t *)p_this;
- Direct3DVoutRelease( p_vout );
-
CommonClean( p_vout );
+ Direct3DVoutRelease( p_vout );
+
free( p_vout->p_sys );
}
More information about the vlc-devel
mailing list