[Bug 707933] matroskademux: Wrong UTF8 detection causes wrong detection of subtitle encoding
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Sep 20 01:09:32 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=707933
GStreamer | gst-plugins-good | 1.0.10
--- Comment #6 from Sebastian Dröge (slomo) <slomo at circular-chaos.org> 2013-09-20 08:09:29 UTC ---
g_utf8_validate() will only read max_len bytes and does not care about the
\0-terminator if max_len!=-1. If max_len==-1 it will read until the
\0-terminator.
Which problem do you see here exactly? That after validation we might miss the
\0-terminator in the end, and other string functions could fail because of
that?
--
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