[vlc-devel] [PATCH] [WinCE] Replaces useless function declaration by empty definition

Pierre Ynard linkfanel at yahoo.fr
Mon Dec 1 11:24:18 CET 2008


Replaces a function declaration by the needed empty definition for WinCE


diff --git a/modules/demux/mp4/drms.c b/modules/demux/mp4/drms.c
index 2fd5353..9cacb52 100644
--- a/modules/demux/mp4/drms.c
+++ b/modules/demux/mp4/drms.c
@@ -2091,7 +2091,7 @@ static int GetiPodID( int64_t *p_ipod_id )
 void *drms_alloc( const char *psz_homedir ){ return NULL; }
 void drms_free( void *a ){}
 void drms_decrypt( void *a, uint32_t *b, uint32_t c, uint32_t *k  ){}
-void drms_get_p_key( void *p_drms, uint32_t *p_key );
+void drms_get_p_key( void *p_drms, uint32_t *p_key ){}
 int drms_init( void *a, uint32_t b, uint8_t *c, uint32_t d ){ return -1; }
 
 #endif /* defined( UNDER_CE ) */


Regards,

-- 
Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."



More information about the vlc-devel mailing list