Commit 8d745087 authored by Laurent Aimar's avatar Laurent Aimar

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

parent 06105bd1
...@@ -677,6 +677,9 @@ aviindex: ...@@ -677,6 +677,9 @@ aviindex:
(mtime_t)p_avih->i_microsecperframe / (mtime_t)p_avih->i_microsecperframe /
(mtime_t)1000000 ) (mtime_t)1000000 )
{ {
if( !vlc_object_alive( p_demux) )
goto error;
msg_Warn( p_demux, "broken or missing index, 'seek' will be " msg_Warn( p_demux, "broken or missing index, 'seek' will be "
"approximative or will exhibit strange behavior" ); "approximative or will exhibit strange behavior" );
if( i_do_index == 0 && !b_index ) 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