[MPlayer-dev-eng] [PATCH] current pl_surround in mplayer CVS breaks playlist
Kis Gergely
kisg at lme.linux.hu
Sat Apr 6 15:41:09 CEST 2002
Hi,
Actually it tries to free() an already freed buffer in pl_surround.control().
The attached patch solves the problem.
Please somebody commit.
Bye,
kisg
-------------- next part --------------
--- pl_surround.c.orig Tue Dec 25 10:52:21 2001
+++ pl_surround.c Sat Apr 6 15:35:16 2002
@@ -148,8 +148,10 @@
free(pl_surround.Ls_delaybuf);
if(pl_surround.Rs_delaybuf)
free(pl_surround.Rs_delaybuf);
- if(pl_surround.databuf)
+ if(pl_surround.databuf) {
free(pl_surround.databuf);
+ pl_surround.databuf = NULL;
+ }
pl_surround.delaybuf_len=0;
}
More information about the MPlayer-dev-eng
mailing list