matroska: Mark tag mapping tables as static const

This commit is contained in:
Sebastian Dröge 2011-03-16 09:38:43 +01:00
parent 7db758164d
commit 5b977c4fec
2 changed files with 2 additions and 2 deletions

View file

@ -3631,7 +3631,7 @@ gst_matroska_demux_parse_metadata_id_simple_tag (GstMatroskaDemux * demux,
GstEbmlRead * ebml, GstTagList ** p_taglist) GstEbmlRead * ebml, GstTagList ** p_taglist)
{ {
/* FIXME: check if there are more useful mappings */ /* FIXME: check if there are more useful mappings */
struct static const struct
{ {
const gchar *matroska_tagname; const gchar *matroska_tagname;
const gchar *gstreamer_tagname; const gchar *gstreamer_tagname;

View file

@ -2169,7 +2169,7 @@ gst_matroska_mux_write_simple_tag (const GstTagList * list, const gchar * tag,
gpointer data) gpointer data)
{ {
/* TODO: more sensible tag mappings */ /* TODO: more sensible tag mappings */
struct static const struct
{ {
const gchar *matroska_tagname; const gchar *matroska_tagname;
const gchar *gstreamer_tagname; const gchar *gstreamer_tagname;