mplayer/mplayer-1.0rc2-playlist.patch

13 lines
431 B
Diff

diff -Nru MPlayer-1.0rc2.orig/playtreeparser.c MPlayer-1.0rc2/playtreeparser.c
--- MPlayer-1.0rc2.orig/playtreeparser.c 2009-04-17 02:33:53.000000000 +0200
+++ MPlayer-1.0rc2/playtreeparser.c 2009-04-17 02:34:38.000000000 +0200
@@ -228,7 +228,7 @@
}
num = atoi(line);
- if(num < 0) {
+ if(num <= 0) {
num = max_entry+1;
mp_msg(MSGT_PLAYTREE,MSGL_WARN,"No entry index in entry %s\nAssuming %d\n",line,num);
}