Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: BUG? in mplayer plugin 0.9.3
On 21 Oct 2004 Tomahawk <Tomahawk@tvcs.de> wrote:
Hi,
> When using mp3 playback in mplayer/mp3 plugin to hear an mp3 stream e.g.
> "http://sc3.radioseven.se:8500/", everxythimng works just fine,
> until i try to play another stream. After choosing another stream the
> VDR simply restarts (Daemon kicks in)
I'm not sure if the bug I found is the one which triggers your
problem. The bug should crash VDR every time a single entry is
added to the (current) playlist.
--- mp3-0.9.7/player-mp3.c 2004-09-17 13:17:45.000000000 +0200
+++ mp3-unstable/player-mp3.c 2004-10-21 21:42:38.000000000 +0200
@@ -715,7 +715,7 @@
for(int i=oldmax ; i<max ; i++) shuffle[i]=i;
int in=Index(curr)+1; if(in<0) in=0;
- if(max>=2) {
+ if((max-in)>=2) {
for(int i=in ; i<max ; i++) {
int ran=(rand() % ((max-in)*4-4))/4; ran+=((ran+in) >= i);
int t=shuffle[i];
If this doesn't cures your problem, please give step by step what
you're doing to crash VDR.
Regards.
--
Stefan Huelswitt
s.huelswitt@gmx.de | http://www.muempf.de/
Home |
Main Index |
Thread Index