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

Benjamin Zores ben at tutuxclan.org
Thu Sep 1 12:37:22 CEST 2005


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.
I guess MPlayer DVB only works under Linux (maybe i'm wrong) 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





More information about the MPlayer-dev-eng mailing list