matroskademux: fix for subtitle buffers with NUL terminators
authorDimitrios Christidis <dchristidis@mykolab.com>
Thu, 16 Jul 2015 15:49:26 +0000 (18:49 +0300)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 21 Jul 2015 13:25:12 +0000 (14:25 +0100)
commit744167056cea37fd6b225416624ff84bbb130b8f
tree6543d7b4fdfd0a9c210ac7595b1196f8ad9928eb
parent45e05706e28439961ac81ce0c8e6403e8e8f03f5
matroskademux: fix for subtitle buffers with NUL terminators

Commit 45892ec8 created a regression where g_utf8_validate() would fail
if the subtitle buffer had a NUL terminator as part of the data.

https://bugzilla.gnome.org/show_bug.cgi?id=752421
gst/matroska/matroska-demux.c