Commit ae084578 authored by Laurent Aimar's avatar Laurent Aimar Committed by Derk-Jan Hartman

Do not ask the user if we should build the avi index when the demuxer has been killed.

(cherry picked from commit 8d745087)
Signed-off-by: default avatarDerk-Jan Hartman <hartman@videolan.org>
parent 8564398f
......@@ -676,6 +676,9 @@ aviindex:
(mtime_t)p_avih->i_microsecperframe /
(mtime_t)1000000 )
{
if( !vlc_object_alive( p_demux) )
goto error;
msg_Warn( p_demux, "broken or missing index, 'seek' will be "
"approximative or will exhibit strange behavior" );
if( i_do_index == 0 && !b_index )
......
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