Commit 6530fc82 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: avi: don't limit read by length on non fastseekable

parent 5a3410ab
...@@ -1064,8 +1064,8 @@ static int Demux_Seekable( demux_t *p_demux ) ...@@ -1064,8 +1064,8 @@ static int Demux_Seekable( demux_t *p_demux )
for( i = 0, b_done = true, i_pos = -1; i < p_sys->i_track; i++ ) for( i = 0, b_done = true, i_pos = -1; i < p_sys->i_track; i++ )
{ {
if( !toread[i].b_ok || if( !toread[i].b_ok ||
AVI_GetDPTS( p_sys->track[i], ( p_sys->b_fastseekable && p_sys->b_interleaved &&
toread[i].i_toread ) <= -READ_LENGTH ) AVI_GetDPTS( p_sys->track[i], toread[i].i_toread ) <= -READ_LENGTH ) )
{ {
continue; continue;
} }
......
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