[vlc-devel] commit: Fix compilation on win32. ( Rémi Duraffort )

git version control git at videolan.org
Sat Dec 13 16:29:34 CET 2008


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sat Dec 13 16:29:18 2008 +0100| [5300af6109335039f1e993a3353648d1e5b278c2] | committer: Rémi Duraffort 

Fix compilation on win32.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5300af6109335039f1e993a3353648d1e5b278c2
---

 modules/access/screen/win32.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/screen/win32.c b/modules/access/screen/win32.c
index 0d6c61b..3812393 100644
--- a/modules/access/screen/win32.c
+++ b/modules/access/screen/win32.c
@@ -55,7 +55,7 @@ int screen_InitCapture( demux_t *p_demux )
     screen_data_t *p_data;
     int i_chroma, i_bits_per_pixel;
 
-    p_sys->p_data = p_data = calloc( sizeof( 1, screen_data_t ) );
+    p_sys->p_data = p_data = calloc( 1, sizeof( screen_data_t ) );
     if( !p_data )
         return VLC_ENOMEM;
 




More information about the vlc-devel mailing list