		err = EndMediaEdits (theMedia);