On Thu, Sep 04, 2014 at 10:40:22PM +0200, wm4 wrote:
> 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.
> ---
> Now uses an enum for UTF types.
> ---
>  libavformat/assdec.c    | 19 +++++++++------
>  libavformat/subtitles.c | 63 
> +++++++++++++++++++++++++++++++++++++++++++++++++
>  libavformat/subtitles.h | 57 ++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 132 insertions(+), 7 deletions(-)
> 
[...]
> + * UTF-8. On invalid UTF-18, 0 is returned.
> + *

Fixed UTF-18 typo, mentioned the Ticket #3496 in the commit message, and 
applied.

Thanks

Note: at least one UTF-16 FATE test would be welcome.

[...]

-- 
Clément B.

Attachment: pgpkDPltpPKIE.pgp
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to