From a1ffe9cbbcfa350eb3f1f8ea2d32b046815ae1ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 11 Mar 2006 19:47:16 +0000 Subject: [PATCH] gst/typefind/gsttypefindfunctions.c: NULL-terminate array of mpeg4 video file extensions. Original commit message from CVS: * gst/typefind/gsttypefindfunctions.c: (plugin_init): NULL-terminate array of mpeg4 video file extensions. Fixes crash on PPC (#334226). --- ChangeLog | 6 ++++++ gst/typefind/gsttypefindfunctions.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f320880b9d..f51c226d5c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-03-11 Tim-Philipp Müller + + * gst/typefind/gsttypefindfunctions.c: (plugin_init): + NULL-terminate array of mpeg4 video file extensions. + Fixes crash on PPC (#334226). + 2006-03-11 Tim-Philipp Müller * ext/gnomevfs/gstgnomevfssrc.c: diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index d020b2d5cc..1d105ec0c0 100644 --- a/gst/typefind/gsttypefindfunctions.c +++ b/gst/typefind/gsttypefindfunctions.c @@ -2245,7 +2245,7 @@ plugin_init (GstPlugin * plugin) "msstyles", "cpl", NULL }; static gchar *flv_exts[] = { "flv", NULL }; - static gchar *m4v_exts[] = { "m4v" }; + static gchar *m4v_exts[] = { "m4v", NULL }; GST_DEBUG_CATEGORY_INIT (type_find_debug, "typefindfunctions", GST_DEBUG_FG_GREEN | GST_DEBUG_BG_RED, "generic type find functions");