add audio to proxy, and minor bug fixes
[goodguy/history.git] / cinelerra-5.1 / cinelerra / indexable.C
index a038b3308c0188a089597fb3d23fea165f741d95..1fff3eff0b842e47636ccea3fa9208cce00d5d91 100644 (file)
@@ -62,7 +62,7 @@ void Indexable::update_path(const char *new_path)
 void Indexable::update_index(Indexable *src)
 {
        if( index_state == src->index_state ) return;
-       index_state->remove_user();
+       if( index_state ) index_state->remove_user();
        index_state = src->index_state;
        index_state->add_user();
 }