[vlc-devel] commit: Fix double free on mkv files with V_QUICKTIME track ( Sigmund Augdal )
git version control
git at videolan.org
Sat Aug 23 20:40:32 CEST 2008
vlc | branch: master | Sigmund Augdal <sigmunau at hobbes.(none)> | Sat Aug 23 20:12:00 2008 +0200| [2051d32886a8d9c8026296768b8b47e486527987] | committer: Sigmund Augdal
Fix double free on mkv files with V_QUICKTIME track
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2051d32886a8d9c8026296768b8b47e486527987
---
modules/demux/mkv.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/demux/mkv.cpp b/modules/demux/mkv.cpp
index 6d3f5e4..a20c8e4 100644
--- a/modules/demux/mkv.cpp
+++ b/modules/demux/mkv.cpp
@@ -2344,7 +2344,7 @@ bool matroska_segment_c::Select( mtime_t i_start_time )
stream_t *p_mp4_stream = stream_MemoryNew( VLC_OBJECT(&sys.demuxer),
tracks[i_track]->p_extra_data,
tracks[i_track]->i_extra_data,
- false );
+ true );
MP4_ReadBoxCommon( p_mp4_stream, p_box );
MP4_ReadBox_sample_vide( p_mp4_stream, p_box );
tracks[i_track]->fmt.i_codec = p_box->i_type;
More information about the vlc-devel
mailing list