Commit 9ed717d5 authored by François Cartegnie's avatar François Cartegnie 🤞 Committed by Jean-Baptiste Kempf

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.

(cherry picked from commit 44800f3f)
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent 6c6ba121
......@@ -1128,7 +1128,7 @@ static int Demux_Seekable( demux_t *p_demux )
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