Skip to content
  • Tommi Myöhänen's avatar
    gst/id3demux/id3v2frames.c: Make sure the ISO 639-X language code in ID3v2... · 23112710
    Tommi Myöhänen authored
    gst/id3demux/id3v2frames.c: Make sure the ISO 639-X language code in ID3v2 COMM frames so we don't end up with non-UT...
    
    Original commit message from CVS:
    Based on patch by: Tommi Myöhänen <ext-tommi.myohanen nokia com>
    * gst/id3demux/id3v2frames.c: (parse_comment_frame):
    Make sure the ISO 639-X language code in ID3v2 COMM frames
    is actually valid UTF-8 (or rather: ASCII), so we don't end
    up with non-UTF8 strings in tags if there's garbage in the
    language field. Also make sure the language code is always
    lower case. Fixes: #508291.
    23112710