[vlc-devel] commit: Avoid to discard qualifier (Christophe Mutricy )

git version control git at videolan.org
Fri Jul 11 22:07:05 CEST 2008


vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Fri Jul 11 20:24:52 2008 +0100| [2f2c5f85a20bea99093c85825442280010018667]

Avoid to discard qualifier

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

 modules/demux/mp4/drms.c |    2 +-
 modules/demux/mp4/drms.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/demux/mp4/drms.c b/modules/demux/mp4/drms.c
index 520c6bb..dba1944 100644
--- a/modules/demux/mp4/drms.c
+++ b/modules/demux/mp4/drms.c
@@ -213,7 +213,7 @@ static inline void BlockXOR( uint32_t *p_dest, uint32_t *p_s1, uint32_t *p_s2 )
 /*****************************************************************************
  * drms_alloc: allocate a DRMS structure
  *****************************************************************************/
-void *drms_alloc( char *psz_homedir )
+void *drms_alloc( const char *psz_homedir )
 {
     struct drms_s *p_drms;
 
diff --git a/modules/demux/mp4/drms.h b/modules/demux/mp4/drms.h
index f6c92e0..0635f40 100644
--- a/modules/demux/mp4/drms.h
+++ b/modules/demux/mp4/drms.h
@@ -24,7 +24,7 @@
 #ifndef _VLC_DRMS_H
 #define _VLC_DRMS_H 1
 
-extern void *drms_alloc( char *psz_homedir );
+extern void *drms_alloc( const char *psz_homedir );
 extern void drms_free( void *p_drms );
 extern int drms_init( void *p_drms, uint32_t i_type,
                       uint8_t *p_info, uint32_t i_len );




More information about the vlc-devel mailing list