Skip to content
Snippets Groups Projects
Commit a840dbb6 authored by François Cartegnie's avatar François Cartegnie :fingers_crossed:
Browse files

demux: asf: have data_end match libasf broadcast dump detection

(cherry picked from commit f7bd45a7)
parent 41878ff4
No related branches found
No related tags found
No related merge requests found
......@@ -1218,7 +1218,7 @@ static int DemuxInit( demux_t *p_demux )
free( fmt_priorities_bitrate_ex.pi_stream_numbers );
p_sys->i_data_begin = p_sys->p_root->p_data->i_object_pos + 50;
if( p_sys->p_root->p_data->i_object_size != 0 )
if( p_sys->p_root->p_data->i_object_size > 50 ) /* see libasf ASF_OBJECT_DATA <= 50 handling */
{ /* 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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment