Commit b43f53f9 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: asf: fix seek boundaries

parent b9d290d4
......@@ -1162,6 +1162,7 @@ static int DemuxInit( demux_t *p_demux )
{ /* local file */
p_sys->i_data_end = p_sys->p_root->p_data->i_object_pos +
p_sys->p_root->p_data->i_object_size;
p_sys->i_data_end = __MIN( stream_Size( p_demux->s ), p_sys->i_data_end );
}
else
{ /* live/broacast */
......
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