demux: fix initial subtitle track selection
commitb82f82fe0830e55c1c3393449fa0cc9160d82105
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Tue, 16 Nov 2010 08:41:16 +0000 (16 10:41 +0200)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Tue, 16 Nov 2010 08:49:23 +0000 (16 10:49 +0200)
treeeb0d2601eaa31e6f035760dc80b4963bb6053cf3
parent9c1bafb93a8621bbf3b76687ec61bd7cf5f16263
demux: fix initial subtitle track selection

Commit 3c2cfee488 ("demux: improve -alang / -slang track choosing
logic") had a copy/paste error which left the subtitle code using
audio variables and broke initial subtitle track selection. Fix.

I actually realized soon after creating the original commit that I'd
forgotten to change the variables and went back to fix it, but then
somehow thought that it was already OK and didn't change it...
libmpdemux/demuxer.c