[vlc-commits] mkv: crash fix in FindChapters
Steve Lhomme
git at videolan.org
Thu Mar 17 16:58:28 CET 2016
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Thu Mar 17 15:05:29 2016 +0100| [7220e31175fd65b22e392dac9cfcf48f3968bf5d] | committer: Jean-Baptiste Kempf
mkv: crash fix in FindChapters
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7220e31175fd65b22e392dac9cfcf48f3968bf5d
---
modules/demux/mkv/virtual_segment.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/mkv/virtual_segment.cpp b/modules/demux/mkv/virtual_segment.cpp
index 3513d1f..be9c5ef 100644
--- a/modules/demux/mkv/virtual_segment.cpp
+++ b/modules/demux/mkv/virtual_segment.cpp
@@ -550,7 +550,7 @@ virtual_chapter_c * virtual_segment_c::FindChapter( int64_t i_find_uid )
{
virtual_edition_c * p_edition = veditions[i_current_edition];
- for( size_t i = 0; p_edition->vchapters.size(); i++ )
+ for( size_t i = 0; i < p_edition->vchapters.size(); i++ )
{
virtual_chapter_c * p_chapter = p_edition->vchapters[i]->FindChapter( i_find_uid );
if( p_chapter )
More information about the vlc-commits
mailing list