[vlc-devel] commit: Added a missing const qualifier. (Laurent Aimar )
git version control
git at videolan.org
Tue Jul 22 00:27:46 CEST 2008
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Jul 21 23:17:53 2008 +0200| [e22cc82c09592b711c497b0c6c2036cbf9596106]
Added a missing const qualifier.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e22cc82c09592b711c497b0c6c2036cbf9596106
---
modules/demux/real.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/demux/real.c b/modules/demux/real.c
index 5d5d40d..36084c6 100644
--- a/modules/demux/real.c
+++ b/modules/demux/real.c
@@ -143,7 +143,7 @@ static int Demux( demux_t *p_demux );
static int Control( demux_t *p_demux, int i_query, va_list args );
static int HeaderRead( demux_t *p_demux );
-static uint8_t * MetaRead( demux_t *p_demux, const uint8_t *p_peek );
+static const uint8_t * MetaRead( demux_t *p_demux, const uint8_t *p_peek );
static int ReadCodecSpecificData( demux_t *p_demux, int i_len, int i_num );
/*****************************************************************************
@@ -1185,7 +1185,7 @@ static int HeaderRead( demux_t *p_demux )
return VLC_SUCCESS;
}
-static uint8_t * MetaRead( demux_t *p_demux, const uint8_t *p_peek )
+static const uint8_t * MetaRead( demux_t *p_demux, const uint8_t *p_peek )
{
demux_sys_t *p_sys = p_demux->p_sys;
More information about the vlc-devel
mailing list