summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--gst/qtdemux/qtdemux.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 1b1ede12..562307a1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-04-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
+
+ * gst/qtdemux/qtdemux.c: (qtdemux_parse_trak):
+ NULL-terminate vararg functions properly (#172946).
+
2005-04-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_get_volume):
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c
index b8d01fdb..0faf4ee2 100644
--- a/gst/qtdemux/qtdemux.c
+++ b/gst/qtdemux/qtdemux.c
@@ -2097,7 +2097,7 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak)
if (codec) {
list = gst_tag_list_new ();
gst_tag_list_add (list, GST_TAG_MERGE_REPLACE,
- GST_TAG_VIDEO_CODEC, codec);
+ GST_TAG_VIDEO_CODEC, codec, NULL);
}
esds = NULL;
@@ -2192,7 +2192,7 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak)
if (codec) {
list = gst_tag_list_new ();
gst_tag_list_add (list, GST_TAG_MERGE_REPLACE,
- GST_TAG_AUDIO_CODEC, codec);
+ GST_TAG_AUDIO_CODEC, codec, NULL);
}
mp4a = qtdemux_tree_get_child_by_type (stsd, FOURCC_mp4a);