lwlibav: Fix a crash when the index helper opened own parsar.