cleanup and comment decoding of reference-picture-sets