[vlc-commits] MP4: kill a unused variable warning

Jean-Baptiste Kempf git at videolan.org
Sun Jul 29 20:37:46 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jul 29 08:57:20 2012 +0200| [c209bfba272630c3ef0f04f3713f0294cbe5e4ee] | committer: Jean-Baptiste Kempf

MP4: kill a unused variable warning

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

 modules/demux/mp4/libmp4.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index 81fc6b0..217c1c7 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -2539,6 +2539,7 @@ static int MP4_ReadBox_skcr( stream_t *p_stream, MP4_Box_t *p_box )
 
 static int MP4_ReadBox_drms( stream_t *p_stream, MP4_Box_t *p_box )
 {
+    VLC_UNUSED(p_box);
     /* ATOMs 'user', 'key', 'iviv', and 'priv' will be skipped,
      * so unless data decrypt itself by magic, there will be no playback,
      * but we never know... */



More information about the vlc-commits mailing list