Skip to content

Commit

Permalink
demux: mp4: set block length
Browse files Browse the repository at this point in the history
  • Loading branch information
fcartegnie committed Jun 26, 2014
1 parent ed80781 commit e154f7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/demux/mp4/mp4.c
Original file line number Diff line number Diff line change
Expand Up @@ -4824,6 +4824,7 @@ static int LeafParseTRUN( demux_t *p_demux, mp4_track_t *p_track,
{
p_block->i_dts = VLC_TS_0 + i_nzdts;
p_block->i_pts = VLC_TS_0 + i_nzpts;
p_block->i_length = CLOCK_FREQ * dur / p_track->i_timescale;
es_out_Send( p_demux->out, p_track->p_es, p_block );
}
else free( p_block );
Expand Down

0 comments on commit e154f7f

Please sign in to comment.