flvdemux: Handle empty metadata strings
authorEdward Hervey <edward@centricular.com>
Wed, 20 May 2020 08:45:16 +0000 (10:45 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Wed, 20 May 2020 08:48:06 +0000 (10:48 +0200)
commite8282661b624190688017b739ae595eaf806e328
treebf957ab8b34234cfc77ee569275a9665912bc9fd
parent9f5f90651597e6fa6d04db415374f1b0d278ae5e
flvdemux: Handle empty metadata strings

g_utf8_validate() errors out on empty string. But empty strings are valid,
so only check if they're not

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/596>
gst/flv/gstflvdemux.c