[MPlayer-dev-eng] [PATCH] remove default.sub fallback
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Apr 20 11:25:18 CEST 2006
Hi,
On Thu, Apr 20, 2006 at 01:34:02AM +0200, Diego Biurrun wrote:
> .. something like the patch below?
Yes, if nobody objects to the tiny bit of cosmetics.
> + char *psub = get_path( "sub/" );
> + tmp = sub_filenames((psub ? psub : ""), filename);
> + free(psub);
> + subdata=sub_read_file(tmp[0], sh_video->fps);
> while (tmp && tmp[i])
For consistency, maybe change "while (tmp && tmp[i])" to
"while (tmp[i])".
Not important though (and a bit of cosmetics as well *g*
Greetings,
Reimar Döffinger
More information about the MPlayer-dev-eng
mailing list