• wm4's avatar
    avformat/assdec: UTF-16 support · 3e842617
    wm4 authored
    Use the UTF-16 BOM to detect UTF-16 encoding. Convert the file contents
    to UTF-8 on the fly using FFTextReader, which acts as converting wrapper
    around AVIOContext. It also can work on a static buffer, needed for
    format probing. The FFTextReader wrapper now also takes care of skipping
    the UTF-8 BOM.
    
    Fix Ticket #3496.
    3e842617
assdec.c 4.66 KB