Skip to content

lib/media_player: fix invalid title index

Thomas Guillem requested to merge tguillem/vlc:libvlc-player-fix-chapter into master

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.

Merge request reports