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

Nico Sabbi nsabbi at email.it
Thu Sep 1 14:41:37 CEST 2005


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

>I guess MPlayer DVB only works under Linux (maybe i'm wrong) 
>

correct

>but it doesn't
>have to be glibc dependant imho.
>
>Btw, does anyone know if the elements that have to be grabbed by scanf()
>have some official specifications (i.e. are they restricted to some maximum
>size that can be statically defined ?)
>
>Ben
>
>  
>

there doesn't have to be any restriction on the size
 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Con la Pietra Naturale puoi grigliare carne, pesce e verdura direttamente in tavola!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2743&d=1-9




More information about the MPlayer-dev-eng mailing list