[MPlayer-dev-eng] [PATCH] better redirect support
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Wed Nov 8 23:47:06 CET 2006
Hello,
On Wed, Nov 08, 2006 at 10:05:03PM +0100, Roberto Togni wrote:
> could it be a good idea to strip empty lines at the beginning for every
> playlist type?
I don't see what it would break to strip them always, so do it unless it
is much more complicated.
> mp_msg(MSGT_PLAYTREE,MSGL_V,"Trying Winamp playlist...\n");
> - if (!(line = play_tree_parser_get_line(p)))
> + while((line = play_tree_parser_get_line(p))) {
> + strstrip(line);
> + if(strlen(line))
> + break;
> + }
> + if (!line)
> return NULL;
> strstrip(line);
This strstrip is not needed anymore. Maybe this strstrip could be done
"globally", too?
Greetings,
Reimar Döffinger
More information about the MPlayer-dev-eng
mailing list