Commit 05654db3 authored by Clément Stenac's avatar Clément Stenac

Fix 64-bit bug with bookmarks from command line

parent fb105c19
...@@ -292,11 +292,11 @@ input_thread_t *__input_CreateThread( vlc_object_t *p_parent, char *psz_uri, ...@@ -292,11 +292,11 @@ input_thread_t *__input_CreateThread( vlc_object_t *p_parent, char *psz_uri,
} }
else if( !strncmp( psz_start, "bytes=", 6 ) ) else if( !strncmp( psz_start, "bytes=", 6 ) )
{ {
seekpoint.i_byte_offset = atol(psz_start + 6); seekpoint.i_byte_offset = atoll(psz_start + 6);
} }
else if( !strncmp( psz_start, "time=", 5 ) ) else if( !strncmp( psz_start, "time=", 5 ) )
{ {
seekpoint.i_time_offset = atol(psz_start + 5) * 1000000; seekpoint.i_time_offset = atoll(psz_start + 5) * 1000000;
} }
psz_start = psz_end + 1; psz_start = psz_end + 1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment