[vlc-devel] commit: Support for MPSub. (Jean-Baptiste Kempf )
Antoine Cellerier
dionoea at videolan.org
Sun May 4 18:04:45 CEST 2008
On Sat, May 03, 2008, Jean-Baptiste Kempf wrote:
> On Sat, May 03, 2008 at 09:46:35AM +0300, Rémi Denis-Courmont wrote :
> > No floating point.
> Well, the MPSub format has lines like
> 1.0 0.24
>
> How do I get those ?
Either you parse that youself, or you use the VLC core floating point
parser code (I don't remember how it's called ... most likely something
like vlc_strtod) to parse the floats (This expects LANG=C type floats so
you should be ok). The only issue is that you won't be able to use that
in a scanf like statement.
--
Antoine Cellerier
dionoea
More information about the vlc-devel
mailing list