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

Guillaume POIRIER poirierg at gmail.com
Mon Aug 21 11:28:17 CEST 2006


Hi,

On 8/21/06, Evgeniy Stepanov <eugeni.stepanov at gmail.com> wrote:
> 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.

Applied

G
-- 
A thing is not necessarily true because a man dies for it.
-- Oscar Wilde



More information about the MPlayer-dev-eng mailing list