Make sure that sub->id is -2 and sub->sh is NULL if subtitle doesn't
exist. Probably sanest way to avoid crash in e.g. mov demuxer without having to check both all the time. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23786 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
1 parent
a7b8d368db
commit
dfae0dfa58
1 file changed
+3