avcodec: add a subcharenc mode that disables UTF-8 check
authorwm4 <nfxjfg@googlemail.com>
Sat, 24 Mar 2018 12:37:00 +0000 (13:37 +0100)
committerwm4 <nfxjfg@googlemail.com>
Sun, 25 Mar 2018 17:27:02 +0000 (19:27 +0200)
commitb7d0d912ef9b60eae962e4622d72860af31a8b00
treeeee27e364492a1cfafb4b7cb81c42d79384d5f20
parent5b31dd1c6b1e35d91ce068d6cd20eb4a3d3faa38
avcodec: add a subcharenc mode that disables UTF-8 check

This is for applications which want to explicitly check for invalid
UTF-8 manually, and take actions that are better than dropping invalid
subtitles silently. (It's pretty much silent because sporadic avcodec
error messages are so common that you can't reasonably display them in a
prominent and meaningful way in a application GUI.)
doc/APIchanges
libavcodec/avcodec.h
libavcodec/decode.c
libavcodec/options_table.h
libavcodec/version.h