Commit 4b169d8e authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

AVI: abort if user gave up while rebuilding the index (refs: #2872)

Previously, the core would fallback to other demux plugins which was
inefficient and error-prone.
parent 0cb210e8
......@@ -765,7 +765,7 @@ error:
}
AVI_ChunkFreeRoot( p_demux->s, &p_sys->ck_root );
free( p_sys );
return VLC_EGENERIC;
return vlc_object_alive( p_demux ) ? VLC_EGENERIC : VLC_ETIMEOUT;
}
/*****************************************************************************
......
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