[MPlayer-dev-eng] [PATCH] SSA subtitle reader fix
Diego Biurrun
diego at biurrun.de
Tue Jun 25 00:56:45 CEST 2002
Please send this as a unified diff. Read DOCS/tech/patches.txt for all
the details.
Thanks
Diego
On Mon, Jun 24, 2002 at 11:41:22PM +0200, Dirk wrote:
> This fixes the reader so that he can handle the attached subtitle file
> too...
> Index: subreader.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/subreader.c,v
> retrieving revision 1.64
> diff -r1.64 subreader.c
> 394a395,396
> >
> > #if 0
> 396,397c398,404
> < if (!line2) return NULL;
> < line2 ++;
> ---
> > #else
> > line2=strchr(line3, ',');
> > line2=strchr(++line2, ',');
> > line2=strchr(++line2, ',');
> > line2=strchr(++line2, ',');
> > line2=strchr(++line2, ',');
> > #endif
> 398a406
> > if (!line2) return NULL;
More information about the MPlayer-dev-eng
mailing list