vlc | branch: master | Simon Latapie <[email protected]> | Wed Feb 27 13:13:33 
2019 +0100| [258eec08e62020ac8f89243238da27a715897a4c] | committer: Steve Lhomme

mkv: fix GotoAndPlay command uid conversion

Signed-off-by: Steve Lhomme <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=258eec08e62020ac8f89243238da27a715897a4c
---

 modules/demux/mkv/chapter_command.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/mkv/chapter_command.cpp 
b/modules/demux/mkv/chapter_command.cpp
index 46251c58c8..9a8749b879 100644
--- a/modules/demux/mkv/chapter_command.cpp
+++ b/modules/demux/mkv/chapter_command.cpp
@@ -718,7 +718,7 @@ bool matroska_script_interpretor_c::Interpret( const binary 
* p_command, size_t
         }
 
         std::string st = sz_command.substr( i+1, j-i-1 );
-        int64_t i_chapter_uid = atoi( st.c_str() );
+        int64_t i_chapter_uid = atoll( st.c_str() );
 
         virtual_segment_c *p_vsegment;
         virtual_chapter_c *p_vchapter = sys.FindChapter( i_chapter_uid, 
p_vsegment );

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to