subs: move vobsub loading logic down to find_subfiles.c
commitbdfdece245b5aa863b4c57996c38b5638d7797d0
authorUoti Urpala <uau@mplayer2.org>
Sat, 9 Apr 2011 02:14:55 +0000 (9 05:14 +0300)
committerUoti Urpala <uau@mplayer2.org>
Wed, 20 Apr 2011 01:22:52 +0000 (20 04:22 +0300)
tree3036399e13ea08cc44019d1e7208295f47226865
parent7221e28fe3d743aaf6357bb0838e762781644f0d
subs: move vobsub loading logic down to find_subfiles.c

Analogously to the previous commit, move path handling logic for
loading external vobsub files from mplayer.c to find_subfiles.c.

Based on a commit from Clément Bœsch but fixed and simplified.
bstr.c
bstr.h
mpcommon.h
mplayer.c
sub/find_subfiles.c
sub/find_subfiles.h