mirror of
https://code.videolan.org/videolan/vlc
synced 2024-07-21 07:24:15 +02:00
* mkv: fix a double delete.
This commit is contained in:
parent
b2dd679bac
commit
a7c63dfe6e
@ -2,7 +2,7 @@
|
||||
* mkv.cpp : matroska demuxer
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2001 VideoLAN
|
||||
* $Id: mkv.cpp,v 1.3 2003/06/22 14:36:34 fenrir Exp $
|
||||
* $Id: mkv.cpp,v 1.4 2003/06/22 16:27:11 fenrir Exp $
|
||||
*
|
||||
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
|
||||
*
|
||||
@ -1575,14 +1575,11 @@ static void BlockDecode( input_thread_t *p_input, KaxBlock *block, mtime_t i_pts
|
||||
if( i_track >= p_sys->i_track )
|
||||
{
|
||||
msg_Err( p_input, "invalid track number=%d", block->TrackNum() );
|
||||
delete block;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if( tk.p_es->p_decoder_fifo == NULL )
|
||||
{
|
||||
delete block;
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user