remove duplicate function
fix decoding of dependent slice header