[MPlayer-cvslog] r27841 - in trunk: libmpdemux/demux_mkv.c libmpdemux/stheader.h mencoder.c mplayer.c spudec.c spudec.h vobsub.c vobsub.h

Aurelien Jacobs aurel at gnuage.org
Sat Nov 1 14:56:32 CET 2008


On Sat, 1 Nov 2008 11:19:07 +0100
Reimar Döffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> wrote:

> On Sat, Nov 01, 2008 at 01:21:28AM +0100, Aurelien Jacobs wrote:
> > On Fri, 31 Oct 2008 12:06:06 +0100
> > Reimar Döffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> wrote:
> > > and in that case to free it without setting it to NULL again would
> > > be wrong.
> > 
> > Except if this field won't ever be used again.
> 
> Yeah, but you explicitly coded that assumption in, thus making sure it
> will break if someone ever tries to use it elsewhere, without even
> documenting the fact.
> 
> > > I am wondering a bit if it is such a good idea to have the extradata
> > > inside the vob, since it is handled different from the other fields,
> > > e.g. it is only used internally in vobsub_open, it is not freed by
> > > vobsub_close...
> > 
> > Second attached patch moves extradata out of the vob, but it is
> > ugly IMHO.
> 
> I do not mind much, but IMO do at least one of these things:
> 1) move extradata out of the struct

Done.

Aurel



More information about the MPlayer-cvslog mailing list