[vlc-devel] vlc: svn commit r23013 (jb)
Rafaël Carré
funman at videolan.org
Sun Nov 11 03:15:55 CET 2007
Le Sun, 11 Nov 2007 02:51:57 +0100 (CET),
Subversion daemon <svn at videolan.org> a écrit :
> r23013 | jb | 2007-11-11 02:51:57 +0100 (Sun, 11 Nov 2007) | 3 lines
> Changed paths:
> M /trunk/modules/gui/qt4/input_manager.cpp
>
> Store the time and length in int, since we use only the seconds count.
>
On my platform, sizeof(int) is 4, so it will be ok up to:
2^31/60/60 = 68 YEARS, or 136 years if you use unsigned int (since no
time can be negative).
We can assume nobody will use 68 years-length media files before a
while :)
(and if we dominate the world by then, we will forbid that)
To be sure that it's stored on 32 bits you better should use uint32_t
> > http://trac.videolan.org/vlc/changeset/23013
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
--
Rafaël Carré
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20071111/160e6fee/attachment.sig>
More information about the vlc-devel
mailing list