Commit 44800f3f authored by François Cartegnie's avatar François Cartegnie 🤞

demux: avi: fix track selection without index

fixes chunk pos index less 1 sample re-read
per demux run with uncompressed audio

introduced by d4c5f2dc
might break with low fps video.
parent 1e2cc62b
......@@ -1125,7 +1125,7 @@ static int Demux_Seekable( demux_t *p_demux )
continue;
}
if( toread[i].i_toread >= 0 )
if( toread[i].i_toread > 0 )
{
b_done = false; /* not yet finished */
......
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