find_subfiles: move sub_filenames() here
commit9bcfbe4d4ff8c40fff45798ae7f907118218c17b
authorClément Bœsch <ubitux@gmail.com>
Sat, 26 Feb 2011 19:47:49 +0000 (26 20:47 +0100)
committerUoti Urpala <uau@mplayer2.org>
Wed, 20 Apr 2011 01:22:52 +0000 (20 04:22 +0300)
tree07a19edff1d9e82b45fedb31f10674d899848df7
parent4587f030ccded80f3ddb21dab2bca36af42fe497
find_subfiles: move sub_filenames() here

Move sub_filenames() and related code from subreader.c to new file
find_subfiles.c. This function is used to find subtitle files that
should be loaded for the current video; this functionality is not
specific to the particular kind of text subtitle handling implemented
in subreader.c.

Also reindent and prettify the moved code a bit.
Makefile
mp_core.h
mplayer.c
sub/find_subfiles.c [new file with mode: 0644]
sub/find_subfiles.h [new file with mode: 0644]
sub/subreader.c
sub/subreader.h