[vlc-commits] commit: Fixed mkv seeking regression while adding simpleblock support. ( Laurent Aimar )
git at videolan.org
git at videolan.org
Wed Apr 21 20:30:08 CEST 2010
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed Apr 21 20:28:13 2010 +0200| [aa4b22e8cb36212724fc3dab0aa7586f175bc97e] | committer: Laurent Aimar
Fixed mkv seeking regression while adding simpleblock support.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=aa4b22e8cb36212724fc3dab0aa7586f175bc97e
---
modules/demux/mkv/matroska_segment.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/demux/mkv/matroska_segment.cpp b/modules/demux/mkv/matroska_segment.cpp
index 9fa07f0..2a7d085 100644
--- a/modules/demux/mkv/matroska_segment.cpp
+++ b/modules/demux/mkv/matroska_segment.cpp
@@ -1407,7 +1407,7 @@ int matroska_segment_c::BlockGet( KaxBlock * & pp_block, KaxSimpleBlock * & pp_s
ref.ReadData( es.I_O() );
- if( int64( ref ) < 0 )
+ if( *pb_key_picture )
*pb_key_picture = false;
else if( int64( ref ) > 0 )
*pb_discardable_picture = true;
More information about the vlc-commits
mailing list