Skip to content

Commit

Permalink
mkv: Utils: Remove trailing whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
chouquette committed Apr 30, 2015
1 parent 8babc06 commit 628764e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions modules/demux/mkv/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ int32_t zlib_decompress_extra( demux_t * p_demux, mkv_track_t * tk )
}

tk->p_extra_data = p_new_extra;

inflateEnd( &d_stream );
return 0;
}
Expand Down Expand Up @@ -217,7 +217,7 @@ void handle_real_audio(demux_t * p_demux, mkv_track_t * p_tk, block_t * p_blk, m
p_block->i_pts = VLC_TS_INVALID;
if( !p_sys->i_subpacket )
{
p_tk->i_last_dts =
p_tk->i_last_dts =
p_block->i_pts = i_pts;
}

Expand Down Expand Up @@ -319,7 +319,7 @@ Cook_PrivateTrackData::~Cook_PrivateTrackData()
if( p_subpackets[i] )
block_Release( p_subpackets[i] );

free( p_subpackets );
free( p_subpackets );
}

static inline void fill_wvpk_block(uint16_t version, uint32_t block_samples, uint32_t flags,
Expand All @@ -338,7 +338,7 @@ static inline void fill_wvpk_block(uint16_t version, uint32_t block_samples, uin
SetDWLE( dst + 20, block_samples );
SetDWLE( dst + 24, flags );
SetDWLE( dst + 28, crc );
memcpy( dst + 32, src, srclen );
memcpy( dst + 32, src, srclen );
}

block_t * packetize_wavpack( mkv_track_t * p_tk, uint8_t * buffer, size_t size)
Expand All @@ -348,13 +348,13 @@ block_t * packetize_wavpack( mkv_track_t * p_tk, uint8_t * buffer, size_t size)
uint32_t flags;
uint32_t crc;
block_t * p_block = NULL;

if( p_tk->i_extra_data >= 2 )
version = GetWLE( p_tk->p_extra_data );

if( size < 12 )
return NULL;

block_samples = GetDWLE(buffer);
buffer += 4;
flags = GetDWLE(buffer);
Expand All @@ -376,7 +376,7 @@ block_t * packetize_wavpack( mkv_track_t * p_tk, uint8_t * buffer, size_t size)
else
{
/* Multiblock */
size_t total_size = 0;
size_t total_size = 0;

p_block = block_Alloc( 0 );
if( !p_block )
Expand Down

0 comments on commit 628764e

Please sign in to comment.