Commit 080410c1 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

AVI: do not ask whether to fix the index for non-seekable streams

Based on patch from Bill C Riemers
parent 5a601aac
...@@ -661,9 +661,13 @@ aviindex: ...@@ -661,9 +661,13 @@ aviindex:
(mtime_t)1000000 ) (mtime_t)1000000 )
{ {
msg_Warn( p_demux, "broken or missing index, 'seek' will be " msg_Warn( p_demux, "broken or missing index, 'seek' will be "
"axproximative or will have strange behaviour" ); "approximative or will exhibit strange behavior" );
if( i_do_index == 0 && !b_index ) if( i_do_index == 0 && !b_index )
{ {
if( !p_sys->b_seekable ) {
b_index = true;
goto aviindex;
}
int i_create; int i_create;
i_create = intf_UserYesNo( p_demux, _("AVI Index") , i_create = intf_UserYesNo( p_demux, _("AVI Index") ,
_( "This AVI file is broken. Seeking will not " _( "This AVI file is broken. Seeking will not "
......
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