]> git.sesse.net Git - vlc/blobdiff - modules/demux/avi/libavi.c
Declared many static variables const
[vlc] / modules / demux / avi / libavi.c
index a0b7cc2ea1565947532b93e88f8bb730d45fbdac..add60783b4edd5c1a7339f6c50dbe9ffff9745aa 100644 (file)
@@ -575,7 +575,7 @@ static void AVI_ChunkFree_indx( avi_chunk_t *p_chk )
 
 
 
-static struct
+static const struct
 {
     vlc_fourcc_t i_fourcc;
     const char *psz_type;
@@ -654,7 +654,7 @@ static void AVI_ChunkFree_nothing( avi_chunk_t *p_chk )
     VLC_UNUSED( p_chk );
 }
 
-static struct
+static const struct
 {
     vlc_fourcc_t i_fourcc;
     int   (*AVI_ChunkRead_function)( stream_t *s, avi_chunk_t *p_chk );