[Bug 607619] [typefind] utf-16 text file mistakenly identified as layer 1 mpeg audio

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Oct 3 02:07:22 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=607619
  GStreamer | gst-plugins-base | unspecified

--- Comment #7 from Sebastian Dröge <slomo at circular-chaos.org> 2011-10-03 09:07:18 UTC ---
We should probably implement our own, minimal UTF16/32 parsing here to check if
all the bytes we have are in the valid ranges instead of doing actual
conversion. (Also I'd vote for text/utf16 and text/utf32 with an endianness
field ;) )

For the BOM table you should use fixed-size arrays instead of char* pointers to
reduce relocations.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list