Commit 667ba928 authored by Ferenc Gerlits's avatar Ferenc Gerlits Committed by Tim-Philipp Müller
Browse files

gst/typefind/gsttypefindfunctions.c: Recognise XML files and XML-like files...

gst/typefind/gsttypefindfunctions.c: Recognise XML files and XML-like files shorter than 256 bytes as well (fixes #35...

Original commit message from CVS:
Patch by: Ferenc Gerlits  <fgerlits at gmail com>
* gst/typefind/gsttypefindfunctions.c:
Recognise XML files and XML-like files shorter than 256 bytes as
well (fixes #359237).
parent 04b632fd
2006-10-10 Tim-Philipp Müller <tim at centricular dot net>
Patch by: Ferenc Gerlits <fgerlits at gmail com>
* gst/typefind/gsttypefindfunctions.c:
Recognise XML files and XML-like files shorter than 256 bytes as
well (fixes #359237).
2006-10-09 Edgard Lima <edgard.lima@indt.org.br>
 
Patch by: Renato Filho <renato.filho@indt.org.br>
......@@ -185,7 +185,7 @@ uri_type_find (GstTypeFind * tf, gpointer unused)
/*** application/xml **********************************************************/
#define XML_BUFFER_SIZE 256
#define XML_BUFFER_SIZE 16
#define XML_INC_BUFFER { \
pos++; \
if (pos == XML_BUFFER_SIZE) { \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment