[vlc-devel] commit: Fix misc warnings in demuxers (Jean-Baptiste Kempf )
git version control
git at videolan.org
Thu Aug 20 10:54:03 CEST 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Aug 20 10:52:48 2009 +0200| [6191f3b61e7e6c3b99658d358c03bf276423fe27] | committer: Jean-Baptiste Kempf
Fix misc warnings in demuxers
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6191f3b61e7e6c3b99658d358c03bf276423fe27
---
modules/demux/nsc.c | 3 +++
modules/demux/pva.c | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/modules/demux/nsc.c b/modules/demux/nsc.c
index c401c0b..015ab40 100644
--- a/modules/demux/nsc.c
+++ b/modules/demux/nsc.c
@@ -296,6 +296,7 @@ static int DemuxOpen( vlc_object_t * p_this )
*****************************************************************************/
static void DemuxClose( vlc_object_t *p_this )
{
+ VLC_UNUSED( p_this );
return;
}
@@ -362,5 +363,7 @@ static int Demux ( demux_t *p_demux )
static int Control( demux_t *p_demux, int i_query, va_list args )
{
+ VLC_UNUSED( p_demux ); VLC_UNUSED( i_query ); VLC_UNUSED( args );
+ //FIXME
return VLC_EGENERIC;
}
diff --git a/modules/demux/pva.c b/modules/demux/pva.c
index d5ceafb..b247594 100644
--- a/modules/demux/pva.c
+++ b/modules/demux/pva.c
@@ -378,7 +378,7 @@ static void ParsePES( demux_t *p_demux )
uint8_t hdr[30];
int i_pes_size;
- int i_skip;
+ unsigned i_skip;
mtime_t i_dts = -1;
mtime_t i_pts = -1;
More information about the vlc-devel
mailing list