[MPlayer-dev-eng] [PATCH] playlists and carriage return issue
groente
groente at puscii.nl
Thu Sep 20 16:59:40 CEST 2007
hey all,
i noticed mplayer getting confused with playlists that have carriage
returns instead of newlines. the patch attached to this mail solved the
issue for me.
cheers,
groente
-------------- next part --------------
Index: playtreeparser.c
===================================================================
--- playtreeparser.c (revision 24587)
+++ playtreeparser.c (working copy)
@@ -82,6 +82,7 @@
}
end = strchr(p->iter,'\n');
+ if(!end) end = strchr(p->iter,'\r');
if(!end) {
if(p->stream->eof) {
end = p->buffer + p->buffer_end;
More information about the MPlayer-dev-eng
mailing list