Seeking was not working properly in case of the next file was already loaded into the decoder.