From ba521058368773a88e5ca2a9a3d7c0e5a0672f98 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sat, 9 Apr 2005 08:01:39 +0000 Subject: gst/qtdemux/qtdemux.c: NULL-terminate vararg functions properly (#172946). Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_parse_trak): NULL-terminate vararg functions properly (#172946). --- gst/qtdemux/qtdemux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gst/qtdemux/qtdemux.c') 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); -- cgit v1.2.1