[vlc-devel] commit: Fixed typo in input.c (Laurent Aimar )

git version control git at videolan.org
Sat Mar 28 13:46:53 CET 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat Mar 28 13:46:25 2009 +0100| [70dd316157fac5fab483534d3f8ec6055cc24ed6] | committer: Laurent Aimar 

Fixed typo in input.c

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

 src/input/input.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/input/input.c b/src/input/input.c
index ea40809..5856944 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -1395,7 +1395,7 @@ void input_ControlPush( input_thread_t *p_input,
         if( p_val )
             c.val = *p_val;
         else
-            memset( &c, 0, sizeof(c) );
+            memset( &c.val, 0, sizeof(c.val) );
 
         p_input->p->control[p_input->p->i_control++] = c;
     }




More information about the vlc-devel mailing list