Print a warning if a subtitle demuxer changes utf16 to utf8.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Wed, 29 Oct 2014 00:32:44 +0000 (01:32 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Wed, 29 Oct 2014 00:32:44 +0000 (01:32 +0100)
commit19a6431ec247e4842236292cc5f8cfc8f87da11e
tree6b2dbcbc3533fec685d825e723b9d237dbfa79b0
parent26122145559f55b6061281bd96a66cebdc5ac33f
Print a warning if a subtitle demuxer changes utf16 to utf8.

This does not fix anything but gives users a chance to
know that they must not pass -sub_charenc UTF-16 to ffmpeg.

Fixes ticket #4059.
libavformat/assdec.c
libavformat/realtextdec.c
libavformat/samidec.c
libavformat/srtdec.c
libavformat/subtitles.c
libavformat/subtitles.h