Skip to content

[3.0] demux: avi: cut QNap title on first invalid character

Steve Lhomme requested to merge robUx4/vlc:30-qnap-meta into 3.0.x

We should only use valid UTF-8 metadata. We don't know if this is supposed to be ASCII, UTF-8 or something else. This is the same code as EnsureUTF8() except we cut the rest of the string if it's invalid.

Ref. #28976

Backport of !7594 (merged)

Merge request reports

Loading