[MPlayer-dev-eng] [PATCH] fix bug in free_demuxer

Roberto Togni r_togni at tiscali.it
Mon Aug 22 21:12:52 CEST 2005


On Thu, 18 Aug 2005 16:59:50 +0200
Reimar Döffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> wrote:

> Hi,
> On Thu, Aug 18, 2005 at 10:27:30PM +0800, Meihui Fan wrote:
> > Let's make all demuxer freed in free_demuxer,
> > so we don't have to access the member(demux->desc->type) of the
demuxer
> > which already freed in
libmpdemux/demux_demuxer.c/demux_close_demuxers.
> > 
> > This bug may cause the MPlayer crashed when playing separated video
and 
> > audio file.
> 
> How about the attached patch instead? I looks cleaner to my eyes *g*.
> But be aware that I broke that feature already once, so better have a
> very close look :-P

Looks correct, apply it.

Ciao,
 Roberto




More information about the MPlayer-dev-eng mailing list