#10583: lavf fails to probe ass file with utf16le encoding
------------------------------------+------------------------------------
Reporter: llyyr | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: ass | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by mkver):
Your file contains two UTF-16 LE BOMs at the beginning; the subtitles.c
code strips the first one away and when streamcopying said file, the
resulting file gets an UTF-8 BOM from the second input BOM (otherwise
there would be no BOM as usual). The only bug I encountered is in
ff_text_peek_r8(): It's undoing of the read is incorrect in case there the
text reader's buffer still contains other characters (which are currently
implicitly discarded). But this is irrelevant for all current users of
ff_text_peek_r8().
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10583#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".