]> git.sesse.net Git - vlc/commitdiff
Mark the callback list as const
authorRémi Denis-Courmont <rem@videolan.org>
Sat, 1 Mar 2008 17:27:36 +0000 (17:27 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sat, 1 Mar 2008 17:27:36 +0000 (17:27 +0000)
(unfortunately, it will not be shareable since it contains relocations)

modules/demux/mp4/libmp4.c

index 47f7d757615b45ad3b697afd917c292632c09eac..426890ff026a00375be07330daf29f9760f275dc 100644 (file)
@@ -2332,7 +2332,7 @@ unknown:
 /****                   "Higher level" Functions                          ****/
 /**** ------------------------------------------------------------------- ****/
 
-static struct
+static const struct
 {
     uint32_t i_type;
     int  (*MP4_ReadBox_function )( stream_t *p_stream, MP4_Box_t *p_box );