changeset 29859:1a2c12c0de26

Fix declarations in mp_taglists.h and include it in mp_taglists.c to make such mismatches impossible in the future.
author reimar
date Wed, 11 Nov 2009 11:52:36 +0000
parents 9ad7e1eb5ad1
children c6c16f6bfa16
files libmpdemux/mp_taglists.c libmpdemux/mp_taglists.h
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/mp_taglists.c	Wed Nov 11 11:38:41 2009 +0000
+++ b/libmpdemux/mp_taglists.c	Wed Nov 11 11:52:36 2009 +0000
@@ -18,6 +18,7 @@
 
 #include "config.h"
 
+#include "mp_taglists.h"
 #include "libavformat/avformat.h"
 #include "libavformat/riff.h"
 
--- a/libmpdemux/mp_taglists.h	Wed Nov 11 11:38:41 2009 +0000
+++ b/libmpdemux/mp_taglists.h	Wed Nov 11 11:52:36 2009 +0000
@@ -19,10 +19,10 @@
 #ifndef MPLAYER_MP_TAGLISTS_H
 #define MPLAYER_MP_TAGLISTS_H
 
-extern const struct AVCodecTag *mp_wav_taglists[];
+extern const struct AVCodecTag * const mp_wav_taglists[];
 
-extern const struct AVCodecTag *mp_codecid_override_taglists[];
+extern const struct AVCodecTag * const mp_codecid_override_taglists[];
 
-extern const struct AVCodecTag *mp_bmp_taglists[];
+extern const struct AVCodecTag * const mp_bmp_taglists[];
 
 #endif /* MPLAYER_MP_TAGLISTS_H */