Commit 61c5ccdf authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

mkv: Remove an unneeded test.

parent 90aa6fc5
...@@ -1050,11 +1050,8 @@ public: ...@@ -1050,11 +1050,8 @@ public:
virtual ~matroska_segment_c() virtual ~matroska_segment_c()
{ {
for( size_t i_track = 0; i_track < tracks.size(); i_track++ ) for( size_t i_track = 0; i_track < tracks.size(); i_track++ )
{
if ( tracks[i_track]->p_compression_data )
{ {
delete tracks[i_track]->p_compression_data; delete tracks[i_track]->p_compression_data;
}
es_format_Clean( &tracks[i_track]->fmt ); es_format_Clean( &tracks[i_track]->fmt );
free( tracks[i_track]->p_extra_data ); free( tracks[i_track]->p_extra_data );
free( tracks[i_track]->psz_codec ); free( tracks[i_track]->psz_codec );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment