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

git version control git at videolan.org
Sat Jul 19 12:45:53 CEST 2008


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sat Jul 19 12:48:17 2008 +0200| [3921a7f87de03160ecd18bcfeb68fbac459f2094]

Fix a compilation warning.

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

 modules/demux/rawvid.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/demux/rawvid.c b/modules/demux/rawvid.c
index ca6d8eb..21bdb4f 100644
--- a/modules/demux/rawvid.c
+++ b/modules/demux/rawvid.c
@@ -182,7 +182,8 @@ static int Open( vlc_object_t * p_this )
     {
         char *psz;
         char *buf;
-        int a, b = 1;
+        int a = 1;
+        int b = 1;
         psz = stream_ReadLine( p_demux->s );
 
         /* TODO: handle interlacing */




More information about the vlc-devel mailing list