Mercurial > mplayer.hg
view etc/inttypes.h @ 33404:7dfe52e4f2e1
Fix play duration calculation error.
Acording to the ASF documentation, the play duration is zero
if the preroll value is greater than the play duration.
The new way of determination (suggested by reimar) prevents
overflows as well.
author | ib |
---|---|
date | Tue, 24 May 2011 13:35:26 +0000 |
parents | dae8bc96fb15 |
children |
line wrap: on
line source
// fallback if the user doesn't have inttypes.h (libc5 systems) #include <sys/bitypes.h>