Disallow subtitles without video
commitc67b681e4c87bc28e39c4897062b2c492d067c34
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Fri, 12 Jun 2009 21:14:47 +0000 (13 00:14 +0300)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Fri, 12 Jun 2009 21:14:47 +0000 (13 00:14 +0300)
tree5a895c0507b243afca50b89deca5641020dfb16e
parentf48840f8204d754026350c046b5b0ab03a9c8b80
Disallow subtitles without video

Make sure no subtitle stream can be selected when no video stream
exists. The code doesn't handle subtitles without video properly and
it was possible to trigger crashes in some cases.
command.c