demux: do not set global sub_utf8
commitb57f8afec9584dbd0fa329721d161741183e9969
authorwm4 <wm4@nowhere>
Sat, 1 Sep 2012 18:09:51 +0000 (1 20:09 +0200)
committerUoti Urpala <uau@mplayer2.org>
Fri, 7 Sep 2012 15:47:22 +0000 (7 18:47 +0300)
tree452dd343552fa9238f0e7c8b4a141c9b4a23e354
parent191f802635b7107c5c1666a082ffaa4ff03fe45d
demux: do not set global sub_utf8

demux_lavf and demux_mkv used to set the global variable sub_utf8 to
signal the character set of the subtitles they output. The main
purpose of this variable is to hold the value of the --utf8 option
which affects how external subtitle files are interpreted. Now that
subtitle rendering is done through libass only, this variable no
longer has any effect outside the parsing of those external files.
Remove the code setting the variable from the demuxers.
libmpdemux/demux_lavf.c
libmpdemux/demux_mkv.c
libmpdemux/demux_mov.c