lib/media_player: fix invalid title index
A i_chapters_of_title of -1 mean the current title, so fetch it in that case.
It fixes a crash while attempting to reach the title array at -1.
A i_chapters_of_title of -1 mean the current title, so fetch it in that case.
It fixes a crash while attempting to reach the title array at -1.
VideoLAN code repository instance