vlc_path2ri: set errno to disthinguish errors (refs #10792)
libvlc_media_new_path: set more meaningful error message (fixes #10792)
lib: allow media player volume to be set before playing media

This is based on similar initialisation as is already done in the
playlist_Create() function.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Subtitle: fix off-by-one error during allocation before call to sscanf

Fix a crash when parsing subtitles. From the man page of sscanf:
"the next pointer must be a pointer to character array that is long
enough to hold the input sequence and the terminating null byte"

Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
Merge remote-tracking branch: upstream/master