[vlc-devel] commit: PLS: use atoll() to parse length ( Rémi Denis-Courmont )
git version control
git at videolan.org
Wed Feb 17 19:52:31 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Feb 17 20:43:49 2010 +0200| [24127e33cb461fbf624824ebe6693248da56db51] | committer: Rémi Denis-Courmont
PLS: use atoll() to parse length
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=24127e33cb461fbf624824ebe6693248da56db51
---
modules/demux/playlist/pls.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/demux/playlist/pls.c b/modules/demux/playlist/pls.c
index 7bbdcb4..be8e767 100644
--- a/modules/demux/playlist/pls.c
+++ b/modules/demux/playlist/pls.c
@@ -201,7 +201,7 @@ static int Demux( demux_t *p_demux )
}
else if( !strncasecmp( psz_key, "length", sizeof("length") -1 ) )
{
- i_duration = atoi( psz_value );
+ i_duration = atoll( psz_value );
if( i_duration != -1 )
{
i_duration *= 1000000;
More information about the vlc-devel
mailing list