[MPlayer-dev-eng] DVB channels parser using glibc %a flag

Rich Felker dalias at aerifal.cx
Thu Sep 1 16:29:01 CEST 2005


On Thu, Sep 01, 2005 at 02:41:37PM +0200, Nico Sabbi wrote:
> Benjamin Zores wrote:
> 
> >Hi there,
> >
> >I had to add the support for DVB in MPlayer under a uClibc environnement
> >and just found out that the DVB channels parser (the scanf part) is using
> >the Glibc %a flag extension which is non standard.
> >
> >2 solutions to solve the problem :
> >- patch the uclibc to support %a (ugly but that what have been done)
> >- patch MPlayer to use %s instead of %a in scanf().
> >
> >I think the 2nd is better but before doing such a patch, i'd like to know
> >if someone be interested in it.
> > 
> >
> 
> yes, send patch please

Requiring GNU extensions is not acceptable. Instead glibc should be
patched to remove support for this crap.. To fix the bug, patch
MPlayer to work without %a.

Rich




More information about the MPlayer-dev-eng mailing list