typefind: fixed detection of audio/x-sap
authorPiotr Fusik <fox@scene.pl>
Sat, 9 Jul 2011 09:59:42 +0000 (11:59 +0200)
committerDavid Schleef <ds@schleef.org>
Sat, 9 Jul 2011 23:19:48 +0000 (16:19 -0700)
Fixes: #654295.

Signed-off-by: David Schleef <ds@schleef.org>
gst/typefind/gsttypefindfunctions.c

index ed393d8..4b6f805 100644 (file)
@@ -4565,7 +4565,7 @@ plugin_init (GstPlugin * plugin)
   TYPE_FIND_REGISTER_START_WITH (plugin, "audio/x-vgm",
       GST_RANK_SECONDARY, vgm_exts, "Vgm\x20", 4, GST_TYPE_FIND_MAXIMUM);
   TYPE_FIND_REGISTER_START_WITH (plugin, "audio/x-sap",
-      GST_RANK_SECONDARY, sap_exts, "SAP\x0d\x0aAUTHOR\x20", 12,
+      GST_RANK_SECONDARY, sap_exts, "SAP\x0d\x0a" "AUTHOR\x20", 12,
       GST_TYPE_FIND_MAXIMUM);
   TYPE_FIND_REGISTER_START_WITH (plugin, "video/x-ivf", GST_RANK_SECONDARY,
       ivf_exts, "DKIF", 4, GST_TYPE_FIND_NEARLY_CERTAIN);