[MPlayer-dev-eng] [PATCH] fix null pointer check in add_subtitles

Evgeniy Stepanov eugeni.stepanov at gmail.com
Mon Aug 21 10:40:54 CEST 2006


On Monday 21 August 2006 11:49, Guillaume Poirier wrote:
> > Index: mplayer.c
> > ===================================================================
> > --- mplayer.c	(revision 19473)
> > +++ mplayer.c	(working copy)
> > @@ -814,7 +814,7 @@
> >  #ifdef USE_ASS
> >      if (ass_enabled)
> >          asst = ass_read_file(filename);
> > -    if (ass_enabled && !asst)
> > +    if (ass_enabled && subd && !asst)
> >          asst = ass_read_subdata(subd, fps);
> >
> >      if (!asst && !subd && !silent)
> >
> >
> > ------------------------------------------------------------------------
>
> I'll apply it tomorrow unless Evgeniy Stepanov disagrees or beats me
> for it.

There is nothing to disagree with, apply anytime.



More information about the MPlayer-dev-eng mailing list