[vlc-commits] PS: fix duration computation on some files
Jean-Baptiste Kempf
git at videolan.org
Tue Aug 12 03:28:51 CEST 2014
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Aug 12 03:28:12 2014 +0200| [2d8e53ac7e404e4ba1b68d70112d991e4adea0a1] | committer: Jean-Baptiste Kempf
PS: fix duration computation on some files
Ref #9412
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2d8e53ac7e404e4ba1b68d70112d991e4adea0a1
---
modules/demux/ps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/ps.c b/modules/demux/ps.c
index b74d07d..a7d96b5 100644
--- a/modules/demux/ps.c
+++ b/modules/demux/ps.c
@@ -255,7 +255,7 @@ static void FindLength( demux_t *p_demux )
/* Check end */
i_size = stream_Size( p_demux->s );
- i_end = VLC_CLIP( i_size, 0, 200000 );
+ i_end = VLC_CLIP( i_size, 0, 20000 );
stream_Seek( p_demux->s, i_size - i_end );
i = 0;
More information about the vlc-commits
mailing list