[vlc-devel] commit: another fix for win32. ( Rémi Duraffort )
git version control
git at videolan.org
Sat Dec 13 16:42:33 CET 2008
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sat Dec 13 16:42:07 2008 +0100| [17444691eaa7a8647e0d12c1dd905a1ae51a613b] | committer: Rémi Duraffort
another fix for win32.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=17444691eaa7a8647e0d12c1dd905a1ae51a613b
---
modules/access/dshow/dshow.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/access/dshow/dshow.cpp b/modules/access/dshow/dshow.cpp
index 62646a7..8d24171 100644
--- a/modules/access/dshow/dshow.cpp
+++ b/modules/access/dshow/dshow.cpp
@@ -579,7 +579,7 @@ static int DemuxOpen( vlc_object_t *p_this )
access_sys_t *p_sys;
int i;
- p_sys = calloc( 1, sizeof( access_sys_t ) );
+ p_sys = (access_sys_t*)calloc( 1, sizeof( access_sys_t ) );
if( !p_sys )
return VLC_ENOMEM;
p_demux->p_sys = (demux_sys_t *)p_sys;
@@ -662,7 +662,7 @@ static int AccessOpen( vlc_object_t *p_this )
access_t *p_access = (access_t*)p_this;
access_sys_t *p_sys;
- p_access->p_sys = p_sys = calloc( 1, sizeof( access_sys_t ) );
+ p_access->p_sys = p_sys = (access_sys_t*)calloc( 1, sizeof( access_sys_t ) );
if( !p_sys )
return VLC_ENOMEM;
More information about the vlc-devel
mailing list