diff options
author | ib <ib@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2011-05-24 13:35:26 +0000 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-07-06 07:23:26 +0300 |
commit | f52b41600d32fb2f820a4387e79510a24aca7fe0 (patch) | |
tree | 7ce1ff7e56800ec7e1575821690f42dae28aa636 /libvo/vo_gl.c | |
parent | 4f4fae851dd2239c0ddc2a3d9dc785fa38a3fd1f (diff) | |
download | mpv-f52b41600d32fb2f820a4387e79510a24aca7fe0.tar.bz2 mpv-f52b41600d32fb2f820a4387e79510a24aca7fe0.tar.xz |
demux_asf: 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 determining it (suggested by reimar) prevents
overflows as well.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33492 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_gl.c')
0 files changed, 0 insertions, 0 deletions