# HG changeset patch # User reimar # Date 1257940356 0 # Node ID 1a2c12c0de26c6073094226c004bb6933deecaf9 # Parent 9ad7e1eb5ad1f31e10fdd89ceed85b2e922a42c5 Fix declarations in mp_taglists.h and include it in mp_taglists.c to make such mismatches impossible in the future. diff -r 9ad7e1eb5ad1 -r 1a2c12c0de26 libmpdemux/mp_taglists.c --- 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" diff -r 9ad7e1eb5ad1 -r 1a2c12c0de26 libmpdemux/mp_taglists.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 */